Handtrack.js: A library for prototyping realtime hand detection in the browser
github.com
github.com
Every client side feature such as background blur or face detection will make my (or every other person's I know) fans spin constantly so I will never use that feature.
I don't know if there's a potential software way to solve this problem or do we have to wait until everyone's using an m2 or i8 cpu?
Although, if this is meant for prototypes, it doesn't matter if you get to validate your idea's efficacy
If there's going to be waste heat, I'd rather it go into the building that I pay to heat.
Maybe an onnx native binding should be available in browsers and the browser can choose the most performant execution engine at runtime.
EDIT: 23-24FPS under Safari on M1.
https://research.fb.com/publications/constraining-dense-hand...
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.
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).
The face/head errors is likely an artifact of transfer learning (handtrackjs is finetuned on the 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).