jakowenko / double-take

Unified UI and API for processing and training images for facial recognition.
https://hub.docker.com/r/jakowenko/double-take
MIT License
1.22k stars 98 forks source link

Add Frigate sub_labels threshold configuration option [FEAT] #225

Open Haloooch opened 2 years ago

Haloooch commented 2 years ago

Is your feature request related to a problem? Please describe. Currently the Frigate sub_labels is updated if an image exceeds the set unknown > confidence threshold, while this works it would be more feature rich to allow for this to have it's own freshold value. I personally prefer having this set when there is a high level of confidence with the person being accurately detected.

Describe the solution you'd like Add config option, freshold level for update_sub_labels to be triggered

Additional context Personally I think using the match > confidence setting would be better for setting the sub_labels rather than unknown, as I only want the label to be set when there is a high level of confidence it's correct, but perhaps others disagree. As such having it's only config option would allow people to use what they need for their usecase.

LordNex commented 2 years ago

I'm trying to understand the new flow with Frigate+ too. Are we to just train generic objects like person, cat, Mailman, etc and then have that trigger an event in double take to do facial recognition? Or am I looking at this wrong?