mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
modified arguments of CvHaarClassifierCascade#detect_objects to set options more easily
This commit is contained in:
parent
ca24f705ac
commit
5266eb051a
6 changed files with 77 additions and 58 deletions
|
@ -412,6 +412,9 @@ define_ruby_module()
|
|||
|
||||
/* Flags of window */
|
||||
rb_define_const(rb_module, "CV_WINDOW_AUTOSIZE", INT2FIX(CV_WINDOW_AUTOSIZE));
|
||||
|
||||
/* Object detection mode */
|
||||
rb_define_const(rb_module, "CV_HAAR_DO_CANNY_PRUNING", INT2FIX(CV_HAAR_DO_CANNY_PRUNING));
|
||||
|
||||
VALUE inversion_method = rb_hash_new();
|
||||
/* {:lu, :svd, :svd_sym(:svd_symmetric)}: Inversion method */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue