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

Work with keypoints for recognize some poses #2008

Open
abduladolph23 opened this issue May 28, 2024 · 1 comment
Open

Work with keypoints for recognize some poses #2008

abduladolph23 opened this issue May 28, 2024 · 1 comment

Comments

@abduladolph23
Copy link

💡 Your Question

Hi, i want to recognize when a person is raising their hand. My idea is to calculate when the keypoint of the hand is greater than the keypoint of shoulder (something like that). But I'm not able to get the keypoints of the body. Please i really need help :( .

I'm using supergradients -> 3.7.1

And the way i'm doing the recognition is:
`
import super_gradients
import torch

from super_gradients.training import models
from super_gradients.common.object_names import Models

device = 'cuda' if torch.cuda.is_available() else 'cpu'

model = models.get(Models.YOLO_NAS_POSE_N, pretrained_weights="coco_pose")
model = model.to(device)

model.predict_webcam(conf=.75)

`

Versions

No response

@guor8bu
Copy link

guor8bu commented Jun 27, 2024

Hi, Did you find the solution? I am trying to get them as well, at least the coordinate of all key points, don't need a specific one

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