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

Accessing hand landmarks on Android #230

Closed
aaaldo opened this issue Nov 8, 2019 · 8 comments
Closed

Accessing hand landmarks on Android #230

aaaldo opened this issue Nov 8, 2019 · 8 comments
Assignees
Labels
type:feature Enhancement in the New Functionality or Request for a New Solution

Comments

@aaaldo
Copy link

aaaldo commented Nov 8, 2019

Hello everyone,

I'm planning to use Mediapipe for a Hand control UI prototype on Android. So far, i'm taking inspiration on the advised method for desktop, discussed in this issue (#200).

As a pure Android dev', seeing the time and effort needed to add some basic C++ code conversion for JNI makes me thinkg that it would be a real timesaver for Android dev' to have more native format converters - Landmark, Detections, Location,etc - directly available in the PacketGetter java class.

Can any of those been added on later release ?

@mgyong mgyong added the type:feature Enhancement in the New Functionality or Request for a New Solution label Nov 8, 2019
@mgyong
Copy link

mgyong commented Nov 8, 2019

@aaaldo - Yes we are looking to add this shortly in an incoming release.
@eknight7 - FYI

@Sara533
Copy link

Sara533 commented Nov 20, 2019

@mgyong
Is there a plan to release a C++ version base on visual studio?
Or make it available for visual studio by a lib or other methods.
As a pure C++ dev', it is also a problem to use Android projects.

@eknight7
Copy link

Are you asking about how to access landmarks on C++ side @Sara533 ?

@Sara533
Copy link

Sara533 commented Nov 21, 2019

@eknight7
I can access landmarks on C++ side. But that is base on bazel build.
I wonder if it is possible to build a lib or dll that can use in visual studio C++ project, just like build an aar for android studio project.
It is difficult to debug via bazel.

@hkawii
Copy link

hkawii commented Nov 24, 2019

@Sara533 Can you please illustrate more about accessing landmarks from c++ to android java? Im stuck with that for a long time

@Sara533
Copy link

Sara533 commented Nov 25, 2019

@hebamohamed
Sorry, I have not got landmarks value from c++ to android java.
But via v0.6.3, you can use an aar lib in android studio project follow the instructions.
https://github.com/google/mediapipe/blob/master/mediapipe/docs/android_archive_library.md
I hope that can help you.

@mgyong
Copy link

mgyong commented Dec 3, 2019

@hebamohamed @Sara533 @aaaldo Fixed in v0.6.6 Pls check it out and let us know

@gongchunye
Copy link

@eknight7 How can I access landmarks on C++ in the demo_run_graph_main.cc?
Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature Enhancement in the New Functionality or Request for a New Solution
Projects
None yet
Development

No branches or pull requests

7 participants