public static interface

Detector.Processor

com.google.android.gms.vision.Detector.Processor<T>
Known Indirect Subclasses

Class Overview

Interface for defining a post-processing action to be executed for each detection, when using the detector as part of a pipeline (see the class level docs above). An instance of a processor is associated with the detector via the setProcessor(Detector.Processor) method.

Summary

Public Methods
abstract void receiveDetections(Detections<T> detections)
Called by the detector to deliver detection results to the processor.
abstract void release()
Shuts down and releases associated processor resources.

Public Methods

public abstract void receiveDetections (Detections<T> detections)

Called by the detector to deliver detection results to the processor.

Parameters
detections Detections

public abstract void release ()

Shuts down and releases associated processor resources.