2012-11-12 13:48:09 -0600 | commented answer | Trouble with example - runtime error Most of the other sample's work though, and I can compile all of them too. I think you are right about the camera not initializing correctly. Any ideas? |
2012-11-12 11:03:45 -0600 | commented answer | Trouble with example - runtime error When I try to run lkdemo it says 'Could not initialize capturing...' |
2012-11-11 21:52:15 -0600 | asked a question | Trouble with example - runtime error I just compiled, and installed opencv on my computer that is running ubuntu, and I am trying to run an example program but I am getting a runtime error. The example is supposed to display video from my web cam. This is the example. It compiles fine, but when I run it, it says... OpenCV Error: Bad flag (parameter or structure field) (Unrecognized or unsupported array type) in cvGetMat, file /home/----/opencv/OpenCV-2.4.3/modules/core/src/array.cpp, line 2482 terminate called after throwing an instance of 'cv::Exception' what(): /home/----/opencv/OpenCV-2.4.3/modules/core/src/array.cpp:2482: error: (-206) Unrecognized or unsupported array type in function cvGetMat If anyone knows what I'm doing wrong please help. |