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

problem on landmarks shift #22

Open
PandaGuy0623 opened this issue Jul 29, 2022 · 3 comments
Open

problem on landmarks shift #22

PandaGuy0623 opened this issue Jul 29, 2022 · 3 comments

Comments

@PandaGuy0623
Copy link

Hi, I have this problem when I run your demo. The following picture shows that when I run the demo, the landmarks have a great shift from where they ought to be.
blazepose
However, if I stream the image to the host and use mediapipe solution directly, the result is good.
pose on host

I wonder if this problem is related to the blob file generated from tflite? How can I solve this problem?
Thanks.

@geaxgx
Copy link
Owner

geaxgx commented Jul 29, 2022

Yes, you are right, we have lost in accuracy when converting from tflite to blob. It happens for some models (similar problem with movenet). Here, one possible explanation is that we have less precision with float16 than in the original model (PINTO0309/tflite2tensorflow#9 (comment)).
Another possible cause: openvinotoolkit/openvino#7674
So there is not much we can do about it.
IIRC, the landmarks are less shifted with the 0.8.4 version of the model. You can try by using the older branch mediapipe084 (git checkout mediapipe084).
Otherwise, google should release (soon ?) a new version of their blazepose model, if I refer to this tweet: https://twitter.com/yeemachine/status/1539639359657447424

@PandaGuy0623
Copy link
Author

Thanks for your reply!!

Yes, you are right, we have lost in accuracy when converting from tflite to blob. It happens for some models (similar problem with movenet). Here, one possible explanation is that we have less precision with float16 than in the original model (PINTO0309/tflite2tensorflow#9 (comment)). Another possible cause: openvinotoolkit/openvino#7674 So there is not much we can do about it. IIRC, the landmarks are less shifted with the 0.8.4 version of the model. You can try by using the older branch mediapipe084 (git checkout mediapipe084). Otherwise, google should release (soon ?) a new version of their blazepose model, if I refer to this tweet: https://twitter.com/yeemachine/status/1539639359657447424

@tristanle22
Copy link

@PandaGuy0623 Have you been able to get around this issue?

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