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.

<GMVDataOutputDelegate> Protocol

<GMVDataOutputDelegate> Protocol Reference

Overview

The GMVDataOutput's delegate.

It is informed about detection states and results.

Inherits <NSObject>.

Inherited by <GMVFocusingDataOutputDelegate>.

Instance Method Summary

(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

- (void) dataOutputWillStartDetection: (GMVDataOutput *)  dataOutput
optional

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 
optional

Notification that a detection has finished.

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