fix: correct face detection threshold defaults
- Changed min_confidence from 50.0 to 0.5 (Vision uses 0.0-1.0 range) - Changed min_size from 32 to 1 (was filtering out all small faces) - Changed min_capture_quality from 25.0 to 0.25 - Fixes issue where all videos showed 0 faces detected Root cause: admin_config.rs used wrong defaults (50.0/32) instead of config.rs constants (0.5/1), causing Vision framework to filter out ALL faces because confidence threshold exceeded valid range. Verified: IMG_9449 now correctly detects 191 faces (was 0).
This commit is contained in:
@@ -163,7 +163,7 @@ pub enum TkgPhase {
|
||||
TextRegionNodes = 4, // Build text_region nodes
|
||||
AppearanceNodes = 5, // Build appearance_trace nodes
|
||||
AccessoryNodes = 6, // Build accessory nodes
|
||||
ObjectNodes = 7, // Build yolo_object nodes
|
||||
ObjectNodes = 7, // Build object nodes (deprecated - YOLO removed)
|
||||
HandNodes = 8, // Build hand nodes
|
||||
SpeakerNodes = 9, // Build speaker nodes
|
||||
CoOccurrenceEdges = 10, // Build co_occurrence edges
|
||||
|
||||
Reference in New Issue
Block a user