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

add some create window options

This commit is contained in:
ser1zw 2014-01-18 20:53:59 +09:00
parent 3a08bc621e
commit efc919fe4c
3 changed files with 8 additions and 1 deletions

View file

@ -149,7 +149,9 @@ class TestOpenCV < OpenCVTestCase
assert_equal(4, CV_FM_LMEDS)
# Flags of window
assert_equal(0, CV_WINDOW_NORMAL)
assert_equal(1, CV_WINDOW_AUTOSIZE)
assert_equal(4096, CV_WINDOW_OPENGL)
# Object detection mode
assert_equal(1, CV_HAAR_DO_CANNY_PRUNING)