|
visageSDK
|
AndroidImageCapture is class that implements a simple frame grabber that serves a single image to the tracker. More...
#include <AndroidImageCapture.h>
Public Member Functions | |
| AndroidImageCapture () | |
| Constructor. | |
| AndroidImageCapture (int width, int height, int format=VISAGE_FRAMEGRABBER_FMT_LUMINANCE) | |
| Constructor. More... | |
| ~AndroidImageCapture (void) | |
| Destructor. | |
| VsImage * | GrabFrame (long &timeStamp) |
| This function is called to get the frame to process. | |
| void | WriteFrame (unsigned char *imageData, int width, int height) |
| Method for writing imageData to buffer object. More... | |
| AndroidImageCapture () | |
| Constructor. | |
| AndroidImageCapture (int width, int height, int format=VISAGE_FRAMEGRABBER_FMT_LUMINANCE) | |
| Constructor. More... | |
| ~AndroidImageCapture (void) | |
| Destructor. | |
| VsImage * | GrabFrame (long &timeStamp) |
| This function is called to get the frame to process. | |
| void | WriteFrame (unsigned char *imageData, int width, int height) |
| Method for writing imageData to buffer object. More... | |
AndroidImageCapture is class that implements a simple frame grabber that serves a single image to the tracker.
The image data is passed by calling WriteFrame method.
Definition at line 24 of file ShowcaseDemo/app/src/main/cpp/AndroidImageCapture.h.
| VisageSDK::AndroidImageCapture::AndroidImageCapture | ( | int | width, |
| int | height, | ||
| int | format = VISAGE_FRAMEGRABBER_FMT_LUMINANCE |
||
| ) |
Constructor.
| width | width of image |
| height | height of image |
| format | format of image |
Definition at line 16 of file AndroidImageCapture.cpp.
| VisageSDK::AndroidImageCapture::AndroidImageCapture | ( | int | width, |
| int | height, | ||
| int | format = VISAGE_FRAMEGRABBER_FMT_LUMINANCE |
||
| ) |
Constructor.
| width | width of image |
| height | height of image |
| format | format of image |
| void VisageSDK::AndroidImageCapture::WriteFrame | ( | unsigned char * | imageData, |
| int | width, | ||
| int | height | ||
| ) |
Method for writing imageData to buffer object.
| imageData | raw pixel data of image used for tracking |
| width | width of the frame |
| height | height of the frame |
Definition at line 43 of file AndroidImageCapture.cpp.
References VsImage::imageData, and VsImage::imageSize.
Referenced by Java_com_visagetechnologies_visagetrackerdemo_ImageTrackerView_WriteFrameImage().
| void VisageSDK::AndroidImageCapture::WriteFrame | ( | unsigned char * | imageData, |
| int | width, | ||
| int | height | ||
| ) |
Method for writing imageData to buffer object.
| imageData | raw pixel data of image used for tracking |
| width | width of the frame |
| height | height of the frame |
1.8.13