-
public interface ValidicOCRResultListener
Listener for OCR results from the ValidicOCRController. Implement this in an Activity (for example) that uses the ValidicOCRController to show the camera preview video and harvest readings from an OCRPeripheral. These callbacks will begin as soon as the OCR fragment is injected into your activity, and will stop when that fragment is paused or completes OCR.
-
-
Method Summary
Modifier and Type Method Description abstract void
didProcessResult(VitalSnapResult result)
Will be called when a partial result for one image has been obtained from the OCR subsystem - this is a "progress report" that is not a final output, but can be used to display cues and "live" results to the user as they are trying to get a final result abstract void
didCompleteReading(Record record, Bitmap image, OCRPeripheral peripheral)
Will be called when a final converged reading has been obtained from the OCR subsystem - this reading should be shown to the user for verification and then passed back for submission to the Validic server -
-
Method Detail
-
didProcessResult
abstract void didProcessResult(VitalSnapResult result)
Will be called when a partial result for one image has been obtained from the OCR subsystem - this is a "progress report" that is not a final output, but can be used to display cues and "live" results to the user as they are trying to get a final result
-
didCompleteReading
abstract void didCompleteReading(Record record, Bitmap image, OCRPeripheral peripheral)
Will be called when a final converged reading has been obtained from the OCR subsystem - this reading should be shown to the user for verification and then passed back for submission to the Validic server
-
-
-
-