Updated formatting in MPPImageClassifierOptions

This commit is contained in:
Prianka Liz Kariat 2023-05-08 16:57:17 +05:30
parent 443418f6d5
commit db732e2913

View File

@ -24,8 +24,8 @@ NS_ASSUME_NONNULL_BEGIN
/** /**
* This protocol defines an interface for the delegates of `MPPImageClassifier` object to receive * This protocol defines an interface for the delegates of `MPPImageClassifier` object to receive
* results of asynchronous classification of images * results of asynchronous classification of images (i.e, when `runningMode =
* (i.e, when `runningMode = MPPRunningModeLiveStream`). * MPPRunningModeLiveStream`).
* *
* The delegate of `MPPImageClassifier` must adopt `MPPImageClassifierLiveStreamDelegate` protocol. * The delegate of `MPPImageClassifier` must adopt `MPPImageClassifierLiveStreamDelegate` protocol.
* The methods in this protocol are optional. * The methods in this protocol are optional.
@ -48,7 +48,6 @@ NS_SWIFT_NAME(ImageClassifierLiveStreamDelegate)
* image was sent to the image classifier. * image was sent to the image classifier.
* @param error An optional error parameter populated when there is an error in performing image * @param error An optional error parameter populated when there is an error in performing image
* classification on the input live stream image data. * classification on the input live stream image data.
*
*/ */
- (void)imageClassifier:(MPPImageClassifier *)imageClassifier - (void)imageClassifier:(MPPImageClassifier *)imageClassifier
didFinishClassificationWithResult:(nullable MPPImageClassifierResult *)result didFinishClassificationWithResult:(nullable MPPImageClassifierResult *)result