1
0
Fork 0
mirror of https://github.com/ruby-opencv/ruby-opencv synced 2023-03-27 23:22:12 -04:00

update FaceRecognizer#predict to return both label and confidence

This commit is contained in:
ser1zw 2013-10-31 03:14:40 +09:00
parent 54016ff24c
commit 61d54cb3f0
5 changed files with 10 additions and 51 deletions

View file

@ -22,6 +22,7 @@ VALUE rb_class();
void define_ruby_class();
VALUE rb_train(VALUE self, VALUE src, VALUE labels);
VALUE rb_predict(VALUE self, VALUE src);
VALUE rb_save(VALUE self, VALUE filename);
VALUE rb_load(VALUE self, VALUE filename);