Updated incorrect spelling of MediaPipe in iOS files

This commit is contained in:
Prianka Liz Kariat 2023-01-06 14:12:49 +05:30
parent b7a9165e5a
commit e119363aa3
6 changed files with 7 additions and 7 deletions

View File

@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
* @enum MPPTasksErrorCode
* This enum specifies error codes for Mediapipe Task Library.
* This enum specifies error codes for MediaPipe Task Library.
* It maintains a 1:1 mapping to MediaPipeTasksStatus of the C ++libray.
*/
typedef NS_ENUM(NSUInteger, MPPTasksErrorCode) {

View File

@ -18,7 +18,7 @@
NS_ASSUME_NONNULL_BEGIN
/** Error domain of Mediapipe Task related errors. */
/** Error domain of MediaPipe Task related errors. */
extern NSString *const MPPTasksErrorDomain;
/** Helper utility for the all tasks which encapsulates common functionality. */

View File

@ -96,7 +96,7 @@ NSString *const MPPTasksErrorDomain = @"com.google.mediapipe.tasks";
// The mapping to absl::Status::code() is done to generate a more specific error code than
// MPPTasksErrorCodeError in cases when the payload can't be mapped to
// MPPTasksErrorCode. This can happen when absl::Status returned by TFLite library are in turn
// returned without modification by Mediapipe cc library methods.
// returned without modification by MediaPipe cc library methods.
if (errorCode > MPPTasksErrorCodeLast || errorCode <= MPPTasksErrorCodeFirst) {
switch (status.code()) {
case absl::StatusCode::kInternal:

View File

@ -25,7 +25,7 @@ NS_SWIFT_NAME(TaskOptions)
@interface MPPTaskOptions : NSObject <NSCopying>
/**
* Base options for configuring the Mediapipe task.
* Base options for configuring the MediaPipe task.
*/
@property(nonatomic, copy) MPPBaseOptions *baseOptions;

View File

@ -21,7 +21,7 @@ NS_ASSUME_NONNULL_BEGIN
/**
* This class is used to create and call appropriate methods on the C++ Task Runner to initialize,
* execute and terminate any Mediapipe task.
* execute and terminate any MediaPipe task.
*
* An instance of the newly created C++ task runner will
* be stored until this class is destroyed. When methods are called for processing (performing
@ -42,7 +42,7 @@ NS_ASSUME_NONNULL_BEGIN
* You can pass `nullptr` for `packetsCallback` in case the mode of operation
* requested by the user is synchronous.
*
* If the task is operating in asynchronous mode, any iOS Mediapipe task that uses the `MPPTaskRunner`
* If the task is operating in asynchronous mode, any iOS MediaPipe task that uses the `MPPTaskRunner`
* must define a C++ callback function to obtain the results of inference asynchronously and deliver
* the results to the user. To accomplish this, callback function will in turn invoke the block
* provided by the user in the task options supplied to create the task.

View File

@ -18,7 +18,7 @@
NS_ASSUME_NONNULL_BEGIN
/**
* This class is used to create and call appropriate methods on the C++ Task Runner to initialize, execute and terminate any Mediapipe text task.
* This class is used to create and call appropriate methods on the C++ Task Runner to initialize, execute and terminate any MediaPipe text task.
*/
@interface MPPTextTaskRunner : MPPTaskRunner