Ask Your Question
1

External integration

asked 2012-10-02 13:35:52 -0500

David Raila gravatar image

updated 2012-10-02 13:36:22 -0500

I have a camera with software to grab images, and I'd like to build a wrapper so that I can use it via c++: IplImage* iplImg = cvQueryFrame( capture ); Mat frame = iplImg;

and python: frame = cv.QueryFrame(camera) ...

Can I make a sublcass of CvCapture to encapsulate this camera and pass it into OpenCV?

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2012-10-03 10:57:45 -0500

karlphillip gravatar image

I don't think so. You will probably have to download OpenCV sources and do your magic inside OpenCV's CvCapture.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2012-10-02 13:35:52 -0500

Seen: 151 times

Last updated: Oct 03 '12