OpenCV

A place for discussion of topics that are not specific to ZoneMinder. This could include Linux, Video4Linux, CCTV cameras or any other topic.
Post Reply
coke
Posts: 518
Joined: Wed Jan 30, 2008 5:53 pm
Location: St. Louis, MO, USA

OpenCV

Post by coke »

Has anyone had any luck getting this compiled or installed on ubuntu Jaunty? It's showing up in the repos, but won't install due to broken dependencies, and I can't get past make.

Code: Select all

../include/opencv/highgui.hpp:69: note: candidates are: cv::Mat cv::imdecode(const std::vector<unsigned char, std::allocator<unsigned> >&, int)
../include/opencv/highgui.hpp:70: note:                 cv::Mat cv::imdecode(const cv::Mat&, int)
make[2]: *** [lib_highgui_la-cvcap_v4l.lo] Error 1
make[2]: Leaving directory `/home/cmadmin/Desktop/opencv/trunk/opencv/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cmadmin/Desktop/opencv/trunk/opencv'
make: *** [all] Error 2
hexoid
Posts: 1
Joined: Sat Aug 29, 2009 8:13 pm

ubuntu jaunty opencv

Post by hexoid »

OpenCV doesn't need compilation on Ubuntu; just install it from Synaptic. It does work but the bttv driver loaded for my PV-149 capture card is unstable and causes the OpenCV app to terminate.

I recommend the O'Reilly book "Learning OpenCV Computer Vision with the OpenCV Library" by Bradski and Kaebler.

I'm hoping to use OpenCV with zm as a motion-detecting front-end but am just starting on the zm install.
Post Reply