mediapipe icon indicating copy to clipboard operation
mediapipe copied to clipboard

Error Domain=com.google.mediapipe.tasks Code=13

Open qianjiechang opened this issue 10 months ago • 0 comments

I called it this way and got an error. How should I solve it modelPath = [[NSBundle mainBundle] pathForResource:@"pose_landmarker_full"ofType:@"task"inDirectory:@"Data/Raw/DLModels"];MPPPoseLandmarkerOptions *poseLandmarkerOptions = [[MPPPoseLandmarkerOptions alloc] init];poseLandmarkerOptions.baseOptions.modelAssetPath = modelPath;poseLandmarkerOptions.numPoses = 1;poseLandmarkerOptions.minPoseDetectionConfidence = 0.5;poseLandmarkerOptions.minPosePresenceConfidence = 0.5;poseLandmarkerOptions.minTrackingConfidence = 0.5;poseLandmarkerOptions.runningMode = MPPRunningModeLiveStream;poseLandmarkerOptions.poseLandmarkerLiveStreamDelegate = self;[[MPPPoseLandmarker alloc] initWithOptions:poseLandmarkerOptions error:&error] Error Domain=com.google.mediapipe.tasks Code=13 "One of copyToProto: methods must be implemented by the subclass of MPPTaskOptions." UserInfo={NSLocalizedDescription=One of copyToProto: methods must be implemented by the subclass of MPPTaskOptions.}

qianjiechang avatar Jan 24 '25 19:01 qianjiechang