stereo mask working
This commit is contained in:
@@ -184,4 +184,12 @@ class ConfigLoader:
|
||||
|
||||
def should_cleanup_intermediate_files(self) -> bool:
|
||||
"""Get whether to cleanup intermediate files."""
|
||||
return self.config.get('advanced', {}).get('cleanup_intermediate_files', True)
|
||||
return self.config.get('advanced', {}).get('cleanup_intermediate_files', True)
|
||||
|
||||
def get_stereo_iou_threshold(self) -> float:
|
||||
"""Get the IOU threshold for stereo mask agreement."""
|
||||
return self.config['processing'].get('stereo_iou_threshold', 0.5)
|
||||
|
||||
def get_confidence_reduction_factor(self) -> float:
|
||||
"""Get the factor to reduce YOLO confidence by on retry."""
|
||||
return self.config['processing'].get('confidence_reduction_factor', 0.8)
|
||||
Reference in New Issue
Block a user