From da7013c7467d78b51109d2c1d1ca2a2644d51d33 Mon Sep 17 00:00:00 2001 From: Prianka Liz Kariat Date: Tue, 3 Oct 2023 23:59:46 +0530 Subject: [PATCH] Updated error messages in MPPImage Utils --- .../tasks/ios/vision/core/utils/sources/MPPImage+Utils.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mediapipe/tasks/ios/vision/core/utils/sources/MPPImage+Utils.mm b/mediapipe/tasks/ios/vision/core/utils/sources/MPPImage+Utils.mm index 1a7d840a4..85650bcd9 100644 --- a/mediapipe/tasks/ios/vision/core/utils/sources/MPPImage+Utils.mm +++ b/mediapipe/tasks/ios/vision/core/utils/sources/MPPImage+Utils.mm @@ -126,7 +126,8 @@ static void FreeDataProviderReleaseCallback(void *info, const void *data, size_t if (convertError != kvImageNoError) { [MPPCommonUtils createCustomError:error withCode:MPPTasksErrorCodeInternalError - description:@"Image format conversion failed."]; + description:@"Some error occured while preprocessing the input image. " + @"Please verify that the image is not corrupted."]; return nullptr; }