You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.}
The text was updated successfully, but these errors were encountered:
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.}
The text was updated successfully, but these errors were encountered: