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
Originally posted by walterf25 January 24, 2025
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
No registered object with name: mediapipe::tasks::vision::pose_landmarker::PoseLandmarkerGraph; Unable to find Calculator "mediapipe.tasks.vision.pose_landmarker.PoseLandmarkerGraph"
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
Model path: /private/var/containers/Bundle/Application/B773963F-D4D6-438E-BAF6-FA0911F44C6F/tros.ai.app/pose_landmarker_heavy.task
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
The text was updated successfully, but these errors were encountered:
Discussed in #494
Originally posted by walterf25 January 24, 2025
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
The text was updated successfully, but these errors were encountered: