recognizeImage
public static void recognizeImage(ClientIdentity identity,
byte[] imageBuffer,
OnCompleteListener<OcrServiceResult> completedCallback,
java.lang.Object state)
throws java.lang.Exception
Helper method to initiate the call to recognize image.
- Parameters:
identity - client identity objectimageBuffer - Specifies a buffer containing an image that has to be
processed. The image must be in JPEG format.completedCallback - completed callbackstate - specifies a user-defined object
- Throws:
java.lang.Exception