mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 13:07:44 +03:00
Remove majority prominent name check
This commit is contained in:
parent
b4330194d6
commit
fc4e707893
@ -412,10 +412,6 @@ class FaceRealTimeProcessor(RealTimeProcessorApi):
|
||||
|
||||
prominent_name = max(score_count)
|
||||
|
||||
# if a single name is not prominent in the history then we are not confident
|
||||
if score_count[prominent_name] / len(results_list) < 0.65:
|
||||
return "unknown", 0.0
|
||||
|
||||
return prominent_name, weighted_scores[prominent_name] / total_face_areas[
|
||||
prominent_name
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user