Wish Pose estimation library wrapper

elpic76

Member
Licensed User
Longtime User
Dear forumers,
I'm getting interest in the pose estimation of a human body. I searched in the forum trying to find some information about but without success.
I would be able to make app related to pose estimation in particular for Android devices.

In MIT app inventor an extension exists based on tensorflow and posenet:
Go to: http://mit-cml.github.io/extensions/ and search for posenet.

I found also this "TensorFlow Lite Pose Estimation Android Demo" for Android Studio that uses not only posenet but also movenet:
Could it be possible to make a wrapper or a library?

Best Regards
 

Cesaral

Member
I also think it is 100% needed. When I call the class with:

B4X:
PoseOptions.InitializeNewInstance("com.google.mlkit.vision.pose.PoseDetectorOptions$Builder", Null)

B4A changes the class for some reason and I get the B4A error:

B4X:
java.lang.ClassNotFoundException: com.google.mlkit$vision$pose$PoseDetectorOptions$Builder

As we can clearly see, some "." where changed by ""$" characters and thus the class can not be initialized.

Please help!
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
As we can clearly see, some "." where changed by ""$" characters and thus the class can not be initialized.
This is not the cause of the problem. JavaObject starts with trying with the class name exactly as it is written. If it fails it changes the periods with dollar sign (one by one) to allow more flexibility.
 
Top