1 #ifndef CAMERASAMPLE_ANDROIDIMAGECAPTURE_H 2 #define CAMERASAMPLE_ANDROIDIMAGECAPTURE_H 8 #define VISAGE_FRAMEGRABBER_FMT_RGB 0 9 #define VISAGE_FRAMEGRABBER_FMT_BGR 1 10 #define VISAGE_FRAMEGRABBER_FMT_LUMINANCE 2 11 #define VISAGE_FRAMEGRABBER_FMT_RGBA 3 12 #define VISAGE_FRAMEGRABBER_FMT_BGRA 4 14 #define VISAGE_FRAMEGRABBER_ORIGIN_TL 0 15 #define VISAGE_FRAMEGRABBER_ORIGIN_BL 1 58 void WriteFrame(
unsigned char *imageData,
int width,
int height);
70 #endif //CAMERASAMPLE_ANDROIDIMAGECAPTURE_H AndroidImageCapture is class that implements a simple frame grabber that serves a single image to the...
AndroidImageCapture()
Constructor.
void WriteFrame(unsigned char *imageData, int width, int height)
Method for writing imageData to buffer object.
VsImage * GrabFrame(long &timeStamp)
This function is called to get the frame to process.
~AndroidImageCapture(void)
Destructor.