Updated documentation for MPPCommonUtils.m

This commit is contained in:
Prianka Liz Kariat 2023-01-06 16:15:53 +05:30
parent 4e38c7e623
commit f37689fc33
2 changed files with 2 additions and 2 deletions

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: