The Mobile Vision API is now a part of ML Kit. We strongly encourage you to try it out, as it comes with new capabilities like on-device image labeling! Also, note that we ultimately plan to wind down the Mobile Vision API, with all new on-device ML capabilities released via ML Kit. Feel free to reach out to Firebase support for help.

<GMVFocusingDataOutputDelegate> Protocol

<GMVFocusingDataOutputDelegate> Protocol Reference

Overview

The GMVFocusingDataOutput's delegate.

It asks the delegate to select a feature to focus on.

Inherits <GMVDataOutputDelegate>.

Instance Method Summary

(NSUInteger) - dataOutput:shouldFocusOnFeatureFromResults:
 
(void) - dataOutputWillStartDetection:
 Notification that a camera frame has been received and that the detector will start the detection process. More...
 
(void) - dataOutput:didFinishedDetection:
 Notification that a detection has finished. More...
 

Method Detail

- (NSUInteger) dataOutput: (GMVDataOutput *)  dataOutput
shouldFocusOnFeatureFromResults: (NSArray< __kindof GMVFeature * > *)  results 
Parameters
dataOutputThe GMVDataOutput object requesting the call.
Returns
The tracking ID of the detection item on which to focus. The ID is obtained from the results.
- (void) dataOutputWillStartDetection: (GMVDataOutput *)  dataOutput
optionalinherited

Notification that a camera frame has been received and that the detector will start the detection process.

Parameters
dataOutputThe GMVDataOutput object requesting the call.
- (void) dataOutput: (GMVDataOutput *)  dataOutput
didFinishedDetection: (NSArray< __kindof GMVFeature * > *)  results 
optionalinherited

Notification that a detection has finished.

Parameters
dataOutputThe GMVDataOutput object requesting the call.
resultsThe full detection results.