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

[After soft launch] Update bodySegmentation model page to align with changes of ml5-next-gen #139 #121

Open
QuinnHe opened this issue Jun 22, 2024 · 5 comments

Comments

@QuinnHe
Copy link
Collaborator

QuinnHe commented Jun 22, 2024

Check new changes here to update "Step-by-step guide", and "Methods": https://github.com/ml5js/ml5-next-gen/pull/139/files
Double-check whether #120 is resolved.

@QuinnHe
Copy link
Collaborator Author

QuinnHe commented Jun 22, 2024

Some notes for our own information:

  1. added two more outputs to result, imageData and data.
  2. changed let bodyPix to let bodySegmentation in example.
  3. added one more example code to illustrate the above point.
  4. added ability to access parts id through key, i.e. if (segmentation.data[y * video.width + x] == bodySegmentation.TORSO_FRONT)

@QuinnHe
Copy link
Collaborator Author

QuinnHe commented Jun 22, 2024

cc @alanvww , check above for your reference :) No rush though

@gohai
Copy link
Member

gohai commented Jun 22, 2024

I ended up implementing most of this in a pass through the documentation page #125.

What's still missing imho is a link to the example that shows how to use .data, as well as a list or diagram that demonstrates all the available constants (like `RIGHT_HAND).

@QuinnHe
Copy link
Collaborator Author

QuinnHe commented Jun 22, 2024

I ended up implementing most of this in a pass through the documentation page #125.

What's still missing imho is a link to the example that shows how to use .data, as well as a list or diagram that demonstrates all the available constants (like `RIGHT_HAND).

This is awesome! Thank you @gohai !! I will go ahead and merge #125

@QuinnHe
Copy link
Collaborator Author

QuinnHe commented Jun 27, 2024

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

2 participants