public class OcrDetectorProcessor
extends java.lang.Object
implements com.google.android.gms.vision.Detector.Processor<com.google.android.gms.vision.text.TextBlock>
Modifier and Type | Method and Description |
---|---|
void |
receiveDetections(com.google.android.gms.vision.Detector.Detections<com.google.android.gms.vision.text.TextBlock> detections)
Called by the detector to process detection results and add them to the graphic overlay.
|
void |
release()
Frees the resources associated with this detection processor.
|
public void receiveDetections(com.google.android.gms.vision.Detector.Detections<com.google.android.gms.vision.text.TextBlock> detections)
receiveDetections
in interface com.google.android.gms.vision.Detector.Processor<com.google.android.gms.vision.text.TextBlock>
public void release()
release
in interface com.google.android.gms.vision.Detector.Processor<com.google.android.gms.vision.text.TextBlock>