Detector.Processor
Stay organized with collections
Save and categorize content based on your preferences.
The Mobile Vision API is deprecated and no longer maintained.
It is now a part of ML Kit which includes all new on-device ML
capabilities. If you use Mobile Vision in your app today, follow the
migration guide .
Known Indirect Subclasses
FocusingProcessor <T>
Base class for implementing a processor
which filters the set of detection results, consistently delivering a single
detected item to an associated Tracker
.
MultiProcessor <T>
Detection processor which distributes the
items of a detection result among individual trackers.
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
Detector.setProcessor(Detector.Processor)
method.
Public Method Summary
abstract void
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.
public abstract void release ()
Shuts down and releases associated processor resources.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-06-17 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]