Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pliablepixels committed Apr 18, 2021
1 parent 9f8b407 commit a812412
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions hook/objectconfig.ini
Original file line number Diff line number Diff line change
Expand Up @@ -385,14 +385,14 @@ disable_locks= no
# Also see https://pyzm.readthedocs.io/en/latest/source/pyzm.html#pyzm.ml.detect_sequence.DetectSequence.detect_stream
# Very important: Make sure final ending brace is indented
stream_sequence = {
'frame_strategy': 'most_models',
'frame_set': 'snapshot,alarm',
'contig_frames_before_error': 5,
'max_attempts': 3,
'sleep_between_attempts': 4,
'frame_strategy': 'most_models',
'frame_set': 'snapshot,alarm',
'contig_frames_before_error': 5,
'max_attempts': 3,
'sleep_between_attempts': 4,
'resize':800

}
}

# Chain of ML models to use
# See https://zmeventnotification.readthedocs.io/en/latest/guides/hooks.html#understanding-detection-configuration
Expand All @@ -401,7 +401,7 @@ stream_sequence = {
ml_sequence= {
'general': {
'model_sequence': 'object,face,alpr',
'disable_locks': '{{disable_locks}}',
'disable_locks': '{{disable_locks}}',
'match_past_detections': '{{match_past_detections}}',
'past_det_max_diff_area': '5%',
'car_past_det_max_diff_area': '10%',
Expand All @@ -423,7 +423,7 @@ ml_sequence= {
'object_framework':'{{tpu_object_framework}}',
'tpu_max_processes': {{tpu_max_processes}},
'tpu_max_lock_wait': {{tpu_max_lock_wait}},
'max_detection_size':'{{max_detection_size}}'
'max_detection_size':'{{max_detection_size}}'


},
Expand All @@ -441,7 +441,7 @@ ml_sequence= {
'gpu_max_lock_wait': {{gpu_max_lock_wait}},
'cpu_max_processes': {{cpu_max_processes}},
'cpu_max_lock_wait': {{cpu_max_lock_wait}},
'max_detection_size':'{{max_detection_size}}'
'max_detection_size':'{{max_detection_size}}'

}]
},
Expand Down

0 comments on commit a812412

Please sign in to comment.