diff --git a/mediapipe/tasks/ios/vision/image_embedder/sources/MPPImageEmbedder.h b/mediapipe/tasks/ios/vision/image_embedder/sources/MPPImageEmbedder.h index ed0d820ff..b3cb795bf 100644 --- a/mediapipe/tasks/ios/vision/image_embedder/sources/MPPImageEmbedder.h +++ b/mediapipe/tasks/ios/vision/image_embedder/sources/MPPImageEmbedder.h @@ -71,11 +71,9 @@ NS_SWIFT_NAME(ImageEmbedder) * interest. Rotation will be applied according to the `orientation` property of the provided * `MPImage`. Only use this method when the `ImageEmbedder` is created with running mode, `.image`. * - * This method supports embedding extraction on RGBA images. If your `MPImage` has a source type of - * `.pixelBuffer` or `.sampleBuffer`, the underlying pixel buffer must have one of the following - * pixel format types: - * 1. kCVPixelFormatType_32BGRA - * 2. kCVPixelFormatType_32RGBA + * This method supports embedding extraction on RGBA images. If your `MPImage` has a + * source type of `.pixelBuffer` or `.sampleBuffer`, the underlying pixel buffer must use + * `kCVPixelFormatType_32BGRA` as its pixel format. * * If your `MPImage` has a source type of `.image` ensure that the color space is RGB with an Alpha * channel. @@ -93,11 +91,9 @@ NS_SWIFT_NAME(ImageEmbedder) * of the provided `MPImage`. Only use this method when the `ImageEmbedder` is created with running * mode, `.image`. * - * This method supports embedding extraction on RGBA images. If your `MPImage` has a source type of - * `.pixelBuffer` or `.sampleBuffer`, the underlying pixel buffer must have one of the following - * pixel format types: - * 1. kCVPixelFormatType_32BGRA - * 2. kCVPixelFormatType_32RGBA + * This method supports embedding extraction on RGBA images. If your `MPImage` has a + * source type of `.pixelBuffer` or `.sampleBuffer`, the underlying pixel buffer must use + * `kCVPixelFormatType_32BGRA` as its pixel format. * * If your `MPImage` has a source type of `.image` ensure that the color space is RGB with an Alpha * channel. @@ -122,11 +118,9 @@ NS_SWIFT_NAME(ImageEmbedder) * It's required to provide the video frame's timestamp (in milliseconds). The input timestamps must * be monotonically increasing. * - * This method supports embedding extraction on RGBA images. If your `MPImage` has a source type of - * `.pixelBuffer` or `.sampleBuffer`, the underlying pixel buffer must have one of the following - * pixel format types: - * 1. kCVPixelFormatType_32BGRA - * 2. kCVPixelFormatType_32RGBA + * This method supports embedding extraction on RGBA images. If your `MPImage` has a + * source type of `.pixelBuffer` or `.sampleBuffer`, the underlying pixel buffer must use + * `kCVPixelFormatType_32BGRA` as its pixel format. * * If your `MPImage` has a source type of `.image` ensure that the color space is RGB with an Alpha * channel. @@ -150,11 +144,9 @@ NS_SWIFT_NAME(ImageEmbedder) * It's required to provide the video frame's timestamp (in milliseconds). The input timestamps must * be monotonically increasing. * - * This method supports embedding extraction on RGBA images. If your `MPImage` has a source type of - * `.pixelBuffer` or `.sampleBuffer`, the underlying pixel buffer must have one of the following - * pixel format types: - * 1. kCVPixelFormatType_32BGRA - * 2. kCVPixelFormatType_32RGBA + * This method supports embedding extraction on RGBA images. If your `MPImage` has a + * source type of `.pixelBuffer` or `.sampleBuffer`, the underlying pixel buffer must use + * `kCVPixelFormatType_32BGRA` as its pixel format. * * If your `MPImage` has a source type of `.image` ensure that the color space is RGB with an Alpha * channel. @@ -188,11 +180,9 @@ NS_SWIFT_NAME(ImageEmbedder) * It's required to provide a timestamp (in milliseconds) to indicate when the input image is sent * to the image embedder. The input timestamps must be monotonically increasing. * - * This method supports embedding extraction on RGBA images. If your `MPImage` has a source type of - * .pixelBuffer` or `.sampleBuffer`, the underlying pixel buffer must have one of the following - * pixel format types: - * 1. kCVPixelFormatType_32BGRA - * 2. kCVPixelFormatType_32RGBA + * This method supports embedding extraction on RGBA images. If your `MPImage` has a + * source type of `.pixelBuffer` or `.sampleBuffer`, the underlying pixel buffer must use + * `kCVPixelFormatType_32BGRA` as its pixel format. * * If the input `MPImage` has a source type of `.image` ensure that the color space is RGB with an * Alpha channel. @@ -227,11 +217,9 @@ NS_SWIFT_NAME(ImageEmbedder) * It's required to provide a timestamp (in milliseconds) to indicate when the input image is sent * to the image embedder. The input timestamps must be monotonically increasing. * - * This method supports embedding extraction on RGBA images. If your `MPImage` has a source type of - * `.pixelBuffer` or `.sampleBuffer`, the underlying pixel buffer must have one of the following - * pixel format types: - * 1. kCVPixelFormatType_32BGRA - * 2. kCVPixelFormatType_32RGBA + * This method supports embedding extraction on RGBA images. If your `MPImage` has a + * source type of `.pixelBuffer` or `.sampleBuffer`, the underlying pixel buffer must use + * `kCVPixelFormatType_32BGRA` as its pixel format. * * If the input `MPImage` has a source type of `.image` ensure that the color space is RGB with an * Alpha channel.