
Untitled
By: a guest on
May 9th, 2012 | syntax:
None | size: 0.70 KB | hits: 20 | expires: Never
while-loop in opencv causing error
scene_filename = "box_in_scene.png"
capture = cv.VideoCapture(0)
frame = Mat()
capture >> frame
imwrite("box_in_scene.png",frame)
OpenCV Error: Bad flag (parameter or structure field) (Unrecognized or unsupport
ed array type) in cvGetMat, file M:programmingpackagesopencvworkspace2.1Op
enCV-2.1.0srccxcorecxarray.cpp, line 2476
Traceback (most recent call last):
File "find_obj.py", line 114, in <module>
imageDescriptors = surf(image, mask, imageKeypoints)
RuntimeError: M:programmingpackagesopencvworkspace2.1OpenCV-2.1.0srccxco
recxarray.cpp:2476: error: (-206) Unrecognized or unsupported array type in fun
ction cvGetMat
myloop = 1
while myloop == 1 :