Ask Your Question

Revision history [back]

External integration

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

External integration

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