Hacker News new | ask | show | jobs
by m3sh 1999 days ago
if you are bald and your head is in the frame, it detects your head as hand.
6 comments

Author here, this is a known issue and being worked on for handtrack.js 2.0.

The face/head errors is likely an artifact of transfer learning (handtrackjs is finetuned on the an object detection model trained using the coco object detection dataset which contains a person category).

Current approach being explored to expand the training data to include faces/heads such that the model better discriminates this from hands.

There are also size and speed optimizations being explored (smaller models such as efficientdet, quantization).

It also recognizes my ceiling as a hand when there's no hand in front of the camera. Not enough negative training data?

To satisfy the curiosity of VoidWhisperer: the score was 0.868. And it also sometimes loses track of a hand, in my case quite reliably when it's flat and seen from the side.

What was the score it determined when it detected your head as a hand? Might just be an issue of finetuning the minimum applicable score
I wonder if this problem can be solved by using the YOLO model in front of this to cut out the noise.
Current approach being explored to expand the training dataset to include faces/heads labels such that the model better discriminates this from hands.
I'm not bald and my head got a score of 0.9xx and my hand in the same frame was 0.7xx
No, I think you should just stop fooling yourself and accept reality for what it is ;) (yes, I'm balding too and it's okay).