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

escaping bbox #26

Open
ksh1983 opened this issue Jun 19, 2024 · 4 comments
Open

escaping bbox #26

ksh1983 opened this issue Jun 19, 2024 · 4 comments

Comments

@ksh1983
Copy link

ksh1983 commented Jun 19, 2024

When the face moves or under certain conditions, the bounding box randomly shrinks and grows, eventually disappearing off the screen. The face is not detected again until it reappears on the screen. This issue is more likely to occur when the face moves quickly or when there are two or more people in the webcam frame. Additionally, the smaller the bounding box and the further the detection distance, the more frequently this issue occurs. Can you help me understand why this is happening?

@vectornguyen76
Copy link
Owner

The reason the above problem occurred was due to my ineffective use of multi threads. The idea to solve this problem is to combine recognition and detection into 2 separate applications, and use redis to communicate. @ksh1983

@ksh1983
Copy link
Author

ksh1983 commented Jun 25, 2024

2 separate applications, and use redis to communicate <<<I don't understand, can you show me an example?

@vectornguyen76
Copy link
Owner

you can run 2 containers for detection and recognition. And then you use redis to push frame detected from detection to recognition container

@ksh1983
Copy link
Author

ksh1983 commented Jun 27, 2024 via email

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