FacesToolConfig
Field |
Type |
Repeated |
Description |
confidence_threshold |
score = sqrt(cls*obj); SDK defaults to 0.3 |
||
aggregation |
|||
sample_n |
|||
bucket_secs |
for BUCKETED; SDK defaults to 1.0 |
||
infer_every_ms |
min media-time between inferences; 0 = every frame |
||
match_threshold |
Face recognition (SFace) — enabled by a non-empty gallery. Enrolment images are raw rgb24 with one prominent subject (the largest confident face is enrolled); a bad image fails configuration. 0 = default 0.4 (OpenCV’s canonical 0.363 + margin) |
||
gallery |
✅ |
||
model |
"" or "yunet" (today’s model; named for forward compatibility) |