mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-07 05:55:27 +03:00
Remove prints
This commit is contained in:
parent
fc4e707893
commit
c7f9b2985e
@ -253,14 +253,10 @@ class FaceNetRecognizer(FaceRecognizer):
|
|||||||
cosine_similarity, median=0.5, range_width=0.6
|
cosine_similarity, median=0.5, range_width=0.6
|
||||||
)
|
)
|
||||||
|
|
||||||
print(f"got {cosine_similarity} -> {confidence} :: {name}")
|
|
||||||
|
|
||||||
if confidence > score:
|
if confidence > score:
|
||||||
score = confidence
|
score = confidence
|
||||||
label = name
|
label = name
|
||||||
|
|
||||||
print("===========================")
|
|
||||||
|
|
||||||
return label, round(score * blur_factor, 2)
|
return label, round(score * blur_factor, 2)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user