google-coral / project-posenet

Human Pose Detection on EdgeTPU
Apache License 2.0
557 stars 157 forks source link

Anonymizer background overlays all previous poses #86

Open amandalam2000 opened 2 years ago

amandalam2000 commented 2 years ago

Description

Anonymizer file is continually overlaying the pose onto the base image. Pose overlays just continually get added to the locked background. I would like it to only show one pose on the background at once.

Click to expand! ### Issue Type Bug ### Operating System Mendel Linux ### Coral Device Dev Board ### Other Devices _No response_ ### Programming Language Python 3.5 ### Relevant Log Output _No response_
hjonnala commented 2 years ago

I think you are getting output similar to this: https://github.com/google-coral/project-posenet/issues/69#issuecomment-878802080

Please add a --mirror flag, If the camera and monitor are both facing you. This would fix the issue on Dev Board.

With Coral Camera: python3 anonymizer.py --videosrc /dev/video0 --mirror

With USB Camera: python3 anonymizer.py --videosrc /dev/video1 --mirror

Thanks!

amandalam2000 commented 2 years ago

Adding the mirror flag did not fix the problem unfortunately. It created less wireframes on the feed, but still too many