PoseLandmarker example help #494
walterf25
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I 'am able to build and run the PoseLandmarker example in xcode, but I am trying to create a library wrapper to be used in B4X platform which is a platform to build Android and iOS apps using Basic syntax programming language, I am facing an issue when using the following code
`- (MPPPoseLandmarker *)createOptions: (NSString *)tasfilePath :(float)minPoseDetectionConfidence :(float)minPosePresenceConfidence :(float)minTrackingConfidence{
NSError *optionsError = nil;
NSString *modelPath = [[NSBundle mainBundle] pathForResource:tasfilePath ofType:@"task"];
error:&optionsError];
if (optionsError){
NSLog(@"optionsError: %@", optionsError.localizedDescription);
}
return landmarker;
}`
The library wrapper compiles just fine when I use it in B4X and the app runs, the problem is that I see an error when initializing the landmarker with the landmarkeroptions, the errors i 'am seeing is the following
The application doesn't crash but it is obvious something is not right, I am using MediaPipeTasksVision.framework version 0.10.20, I also tried version 0.10.14 but I see the same issue, I have both frameworks MediaPipeTasksCommon.framework and MediaPipeTasks.framework referenced in my library wrapper project and i know the task file is being found as I can see the logs the name of the .task file
I have been at this for days and can not figure out what I must be missing, hopefully I can get some help here from the experts, in advance thanks for the help.
Walter
Beta Was this translation helpful? Give feedback.
All reactions