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

Human IDs are different in different images? #5

Closed
cherryjm opened this issue Feb 22, 2021 · 2 comments
Closed

Human IDs are different in different images? #5

cherryjm opened this issue Feb 22, 2021 · 2 comments

Comments

@cherryjm
Copy link

cherryjm commented Feb 22, 2021

I get the human id as

human_id = id_map[
np.clip(int(p[1]), 0, 1079), np.clip(int(p[0]), 0, 1919)
]

It is the id at the head location.

It seems that the human id is not unique. Or is it because the head is occluded or out of the field of view?

@andreaskoelsch
Copy link

I second your problem. This approach of taking the color at the head location is not very stable.

  1. It does not work if the head is occluded, as for example in FPS-5/2020-06-09-16-09-56/00067*
  2. It does not work if the position of the head is incorrect, cf. joints_2d are not exact #6

@ZheC
Copy link
Owner

ZheC commented Mar 31, 2021

Yes, the human IDs are different across sequences. To obtain the human ID, we have to use the head position in the image. While this works for most cases, it will have issues when the head is occluded as pointed by @koelscha. A more robust way would be checking the ID of all human joint positions, and use the major one.

@ZheC ZheC closed this as completed Mar 31, 2021
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

3 participants