public static interface IRecognitionService.DebugLog
| Modifier and Type | Method and Description |
|---|---|
void |
onAttachDebugInfo(java.lang.String imageId,
java.lang.String debugInfo)
Attaches debug info associated with the image.
|
void |
onBeginSeries()
Begins a series of video frames.
|
void |
onEndSeries()
Ends the series.
|
java.lang.String |
onSaveImageBufferNV21(int width,
int height,
int orientation,
android.graphics.Rect areaOfInterest,
byte[] buffer,
int dataSize)
Logs the image in NV21 format.
|
void onBeginSeries()
void onEndSeries()
java.lang.String onSaveImageBufferNV21(int width,
int height,
int orientation,
android.graphics.Rect areaOfInterest,
byte[] buffer,
int dataSize)
width - the image widthheight - the image heightorientation - the image orientationareaOfInterest - the area of interest on the imagebuffer - the buffer with image data in NV21 format. Only dataSize bytes in the buffer
contain valid image data.dataSize - the number of bytes in the buffer containing valid image datavoid onAttachDebugInfo(java.lang.String imageId,
java.lang.String debugInfo)
This method is only called if onSaveImageBufferNV21 returned non-null identifier
imageId - the image id to attach debug info todebugInfo - the debug info