onSaveImageBufferNV21 method of the DebugLog interface

Called by the service to log an image in the NV21 format. This method is to be implemented on the client side.

String onSaveImageBufferNV21( 
 int width,
 int height,
 int orientation,
 Rect areaOfInterest,
 byte[] buffer,
 int dataSize
);

Parameters

width
The image width.
height
The image height.
orientation
The image orientation in degrees, a multiple of 90.
areaOfInterest
The rectangular area of interest on the image.
buffer
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 data.

Return values

A string identifier of the image to which detailed debug information may be attached. If null is returned, the onAttachDebugInfo method will not be called and no detailed information will be reported.

02.03.2022 12:59:15

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.