wolterlw / hand_tracking

Minimal Python interface for Google's Mediapipe HandTracking pipeline

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to reduce false positive?

edwardnguyen1705 opened this issue · comments

Hi, thank you for sharing your code. I have been trying to change the threshold (even to 0.95) to eliminate false positive, buy it did not help.

detecion_mask = self._sigm(out_clf) > 0.7

Have anyone had the same situation? Or any suggestion is greatly appreciated.

I believe the regressor also outputs a confidence score, so you can filter using it as well. This still leaves you with added costs of processing the false positives, but there’s no easy fix for it.