refactor: remove hardcoded
All checks were successful
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m53s
Build Worker Base and Application Images / deploy-stack (push) Successful in 10s
All checks were successful
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m53s
Build Worker Base and Application Images / deploy-stack (push) Successful in 10s
This commit is contained in:
parent
dc47eb8580
commit
965a0d0a72
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ class VehicleTracker:
|
|||
tracking_config: Configuration from pipeline.json tracking section
|
||||
"""
|
||||
self.config = tracking_config or {}
|
||||
self.trigger_classes = self.config.get('triggerClasses', ['front_rear'])
|
||||
self.trigger_classes = self.config.get('trigger_classes', self.config.get('triggerClasses', ['frontal']))
|
||||
self.min_confidence = self.config.get('minConfidence', 0.6)
|
||||
|
||||
# Tracking state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue