Fixed typos
This commit is contained in:
parent
1e1693d9aa
commit
8f1a56f3c2
|
@ -80,7 +80,7 @@ NS_SWIFT_NAME(ObjectDetector)
|
|||
* Creates a new instance of `MPPObjectDetector` from the given `MPPObjectDetectorOptions`.
|
||||
*
|
||||
* @param options The options of type `MPPObjectDetectorOptions` to use for configuring the
|
||||
* `MPPImageClassifMPPObjectDetectorier`.
|
||||
* `MPPObjectDetector`.
|
||||
* @param error An optional error parameter populated when there is an error in initializing the
|
||||
* object detector.
|
||||
*
|
||||
|
@ -96,7 +96,7 @@ NS_SWIFT_NAME(ObjectDetector)
|
|||
* `MPPImage`. Only use this method when the `MPPObjectDetector` is created with
|
||||
* `MPPRunningModeImage`.
|
||||
*
|
||||
* This method supports classification of RGBA images. If your `MPPImage` has a source type of
|
||||
* This method supports detecting objects in RGBA images. If your `MPPImage` has a source type of
|
||||
* `MPPImageSourceTypePixelBuffer` or `MPPImageSourceTypeSampleBuffer`, the underlying pixel buffer
|
||||
* must have one of the following pixel format types:
|
||||
* 1. kCVPixelFormatType_32BGRA
|
||||
|
@ -123,7 +123,7 @@ NS_SWIFT_NAME(ObjectDetector)
|
|||
* the provided `MPPImage`. Only use this method when the `MPPObjectDetector` is created with
|
||||
* `MPPRunningModeVideo`.
|
||||
*
|
||||
* This method supports classification of RGBA images. If your `MPPImage` has a source type of
|
||||
* This method supports detecting objects in of RGBA images. If your `MPPImage` has a source type of
|
||||
* `MPPImageSourceTypePixelBuffer` or `MPPImageSourceTypeSampleBuffer`, the underlying pixel buffer
|
||||
* must have one of the following pixel format types:
|
||||
* 1. kCVPixelFormatType_32BGRA
|
||||
|
@ -161,7 +161,7 @@ NS_SWIFT_NAME(ObjectDetector)
|
|||
* It's required to provide a timestamp (in milliseconds) to indicate when the input image is sent
|
||||
* to the object detector. The input timestamps must be monotonically increasing.
|
||||
*
|
||||
* This method supports classification of RGBA images. If your `MPPImage` has a source type of
|
||||
* This method supports detecting objects in RGBA images. If your `MPPImage` has a source type of
|
||||
* `MPPImageSourceTypePixelBuffer` or `MPPImageSourceTypeSampleBuffer`, the underlying pixel buffer
|
||||
* must have one of the following pixel format types:
|
||||
* 1. kCVPixelFormatType_32BGRA
|
||||
|
@ -170,8 +170,8 @@ NS_SWIFT_NAME(ObjectDetector)
|
|||
* If the input `MPPImage` has a source type of `MPPImageSourceTypeImage` ensure that the color
|
||||
* space is RGB with an Alpha channel.
|
||||
*
|
||||
* If this method is used for classifying live camera frames using `AVFoundation`, ensure that you
|
||||
* request `AVCaptureVideoDataOutput` to output frames in `kCMPixelFormat_32RGBA` using its
|
||||
* If this method is used for detecting objects in live camera frames using `AVFoundation`, ensure
|
||||
* that you request `AVCaptureVideoDataOutput` to output frames in `kCMPixelFormat_32RGBA` using its
|
||||
* `videoSettings` property.
|
||||
*
|
||||
* @param image A live stream image data of type `MPPImage` on which object detection is to be
|
||||
|
|
Loading…
Reference in New Issue
Block a user