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

How to get coordinates from multi_person_mobilenet_v1_075_float.tflite ? #1

Open
lmy931 opened this issue May 22, 2019 · 0 comments
Open

Comments

@lmy931
Copy link

lmy931 commented May 22, 2019

Hi, thanks for your code. It helps me a lot.
I have successfully run multi_person_mobilenet_v1_075_float.tflite. My question now is how to get the coordinates of each keypoint?(such as nose, wristle, ankle)
Can you give me some guidance about getting coordinates? Thanks 3000 times.

The coordinates should be something like:
{
"score": 0.32371445304906,
"keypoints": [
{
"position": {
"y": 76.291801452637,
"x": 253.36747741699
},
"part": "nose",
"score": 0.99539834260941
},
...

What I have changed so far:

  1. uncomment: return "multi_person_mobilenet_v1_075_float.tflite";
  2. uncomment:
    //multi_person_mobilenet_v1_075_float
    private static final int HEATMAPWIGHT = 23;
    private static final int HEATMAPHEIGHT = 17;
    private static final int NUMJOINT = 17;
  3. change getImageSizeX()

image

image

image

@lmy931 lmy931 changed the title How to run multi_person_mobilenet_v1_075_float.tflite ? How to get coordinates from multi_person_mobilenet_v1_075_float.tflite ? May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant