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
Accuracy difference in tfjs hand pose official demo and this app #16
Comments
The official version is hard-coded for a single hand detection. I've modified it for variable number of hands, but I suspect I introduced a bug somewhere as well - I'll take a closer look. |
i found couple of issues in hand bounding box detection that was causing it to flicker in and out and thus impact further object detection inside that box - new version is now published there is still room for improvement (better caching and cache invalidation to remove detection delays when hand comes in focus) when using multi-hand detection, but it should be better than it was if you're comparing performance to original model, best to set |
Thank you for the update. |
quick q - can you confirm the accuracy is now on-par? |
I just checked your latest code and it may be a little better but not on-par with original. Thanks! |
thanks for trying. few quick questions:
|
The detection part does not work as well. For example with my hand in the same position and distance from the camera the original code will detect my hand and finger positions such as a peace sign. However on the human app my hand is intermittently detected and my fingers are not detected well. I cannot change my hand from open to peace sign and have it detect my fingers. I did set MAX OBJECTS to 1 by config and by dragging. The video attached should show the difference if a handpose is detected correctly or not. I adjusted the values to match those of the original demo detectionConfidence = 0.8 iouThreshold = 0.3 scoreThreshold = 0.75 MAX OBJECTS = 1. On the original demo maxContinuousChecks = infinity but hand app has SKIP FRAMES = 10 I left this value at 10. |
note that original still has i'll run deeper compare on my side |
i've spend some time analyzing this - would appreciate your feedback: handpose uses two models - first to detect bounding box of a hand and second to detect landmarks (finger points)
so original implementation uses box detector to find a hand and once it does, but if i want to have multi-hand support, i need to invalidate cache periodically to check if there are new hands in the frame i've improved caching and cache invalidation significantly new version is now published, |
It is working great for 1 hand. I would say it is on par or better than the original. Thanks |
thanks for the feedback i'd use a better hand detector model, but size is the issue - this is the only one small enough as i don't want the library size to be unmanageable closing as resolved |
Windows 10 Professional
Intel i9 9900k
Graphics Intel UHD 630
It seems that accuracy is not as good and also there is a performance lag between the official hand pose demo and this application. This is just my observation from testing the demo and and your human app. The distance from the camera remained constant between the two applications. Am I doing something wrong?
Video demonstration of difference.
hand-pose.zip
Thanks.
The text was updated successfully, but these errors were encountered: