Postby sriney » 14 Feb 2011 19:50
Hi,
Hoping to catch someones attention on this.
I'm trying to run the opencv_example, which from what I understand, inherits from the opencv_wrapper somehow (or, wrapper contains the example, and is configured to load it).
Anyone familiar with this?
I'm using OpenCV-2.2 and vlc-1.1.7. I'm configuring and compiling on Ubuntu 10.10.
I modified opencv_example slightly (changed path to cascade file to appropriate location for linux, and added an argument to cvHaarDetectObjects to get it to compile [minimum square for face identification, cvSize(0,0)].
I modified opencv_wrapper, changing the set_capability and set_subcategory to video_filter2 in the vlc_module_begin block.
when i run the following:
/home/sriney/vlc-1.1.7/vlc --reset-plugins-cache --video-filter=opencv_wrapper v4l2:///dev/video1
I get a segfault
when i run the following:
/home/sriney/vlc-1.1.7/vlc --reset-plugins-cache --video-filter=opencv_example v4l2:///dev/video1
Failed to create video filter2 'opencv_example'
even though the opencv_example is a SUBCAT_VIDEO_VFILTER2
Can anyone say if I'm attempting to execute these cascading filters from the command line properly or not, and whether there are other upgrade issues to consider in the code going to 1.1.7 and vfilter2?
My next exercise is stepping through the debugger. Anyone set up vlc to compile through Eclipse?
Thanks,
Seth