-
Notifications
You must be signed in to change notification settings - Fork 36
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
Loss of FPS when program cant detect any face. #29
Comments
@JoyKaihatu The reason may come from too much loop can not detect bbox, you can add sleep to reduce it. So far, it is just a demo version, if you want bring it to production, contact me.
|
Hello, thanks for the reply. But the issue still presist and it got even worse where the FPS just drop even lower the bounding box will not disappear right away but instead slide to the edge of the screen untill it go away slowly out of the screen while maintaining lower FPS. I havent test it any further on how long it will stay like that or is the FPS will get better after the Recognize Thread finish processing the frame. But from my observation, it seems that there are a different speed of process where your recognize will just process the frame and emit frame slower when the tracking_boxes == [] and it will process the frame faster when tracking boxes is not None. Which not make any sense to me. It will be a great help if you can help me on this issue further. Since im now working on making a face recognition application on web using flask and js. Where the program will receive the image from client camera and process it, then show it back to the user. So far, the only prpoblem i encounter when testing is this. But other than that, the program can run smooth up to 45 - 60 FPS. I can always reproduce the eror presistently, just let me know if you need information any further about the eror like a video or picture of when the erorr occured. Let me know and i will share any information you need to fix this. |
I have a production version optimized using triton, vector database and redis. For this version I will fix this error later (maybe tonight). |
Will the production version be release under the same License as the demo here also in Github? ( I can already guess that it will not. But just asking ). Also, thanks for having the time to fix the demo version also :D. |
It's just a private version |
Hello, after my testing. There are alot of FPS drop after i turn my face facing left and right. The FPS drop can be from 30 FPS constant down to 15 or sometime 12 FPS. I have try to fix the issue myself, and disabling the recognize thread seem to solve the issue and no more FPS drop when i turn my head or not facing the camera anymore.
Are there any permanent fix to this? Or any help on why its happening would help. Thanks
The text was updated successfully, but these errors were encountered: