Jafar
|
Wrapper around openCV Capture mechanism. More...
Wrapper around openCV Capture mechanism.
Definition at line 17 of file Capture.hpp.
#include <Capture.hpp>
Public Member Functions | |
Capture (int index=CV_CAP_ANY) | |
void | setCamera (int index=CV_CAP_ANY) |
Start capturing frames from camera. | |
jafar::image::Image * | image () |
Return a pointer to the image where the frames which are grabbed are stored. | |
void | grabFrame () |
Grab a frame (call cvQueryFrame). | |
void | release () |
Release the capture device. | |
Private Attributes | |
CvCapture * | m_cvCapture |
jafar::image::Image * | m_image |
void jafar::image::Capture::setCamera | ( | int | index = CV_CAP_ANY | ) | [inline] |
Start capturing frames from camera.
Same as original cvCreateCameraCapture with default capture device
index | camera_index + domain_offset (CV_CAP_*) |
Definition at line 33 of file Capture.hpp.
References JFR_WARNING, and release().
Generated on Wed Oct 15 2014 00:37:39 for Jafar by doxygen 1.7.6.1 |