Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
qianjiechang opened this issue Jan 24, 2025 · 0 comments
Open

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

qianjiechang opened this issue Jan 24, 2025 · 0 comments

Comments

@qianjiechang
Copy link

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.}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant