@@ -256,19 +256,19 @@ my_frame_strategy = most_models
256256use_sequence = yes
257257
258258stream_sequence = {
259- ' frame_strategy' : ' {{my_frame_strategy}}' ,
260- ' frame_set' : ' snapshot,alarm' ,
261- ' contig_frames_before_error' : 5,
262- ' max_attempts' : 3,
263- ' sleep_between_attempts' : 4,
264- ' resize' :800
259+ ' frame_strategy' : ' {{my_frame_strategy}}' ,
260+ ' frame_set' : ' snapshot,alarm' ,
261+ ' contig_frames_before_error' : 5,
262+ ' max_attempts' : 3,
263+ ' sleep_between_attempts' : 4,
264+ ' resize' :800
265265
266- }
266+ } # very important - this brace needs to be indented inside stream_sequence
267267
268268ml_sequence = {
269269 ' general' : {
270270 ' model_sequence' : ' {{model_sequence}}' ,
271- ' disable_locks' : ' {{disable_locks}}' ,
271+ ' disable_locks' : ' {{disable_locks}}' ,
272272 ' match_past_detections' : ' {{match_past_detections}}' ,
273273 ' past_det_max_diff_area' : ' 5%' ,
274274 ' car_past_det_max_diff_area' : ' 10%'
@@ -290,7 +290,7 @@ ml_sequence= {
290290 ' object_framework' :' {{tpu_object_framework}}' ,
291291 ' tpu_max_processes' : {{tpu_max_processes}},
292292 ' tpu_max_lock_wait' : {{tpu_max_lock_wait}},
293- ' max_detection_size' :' {{max_detection_size}}' ,
293+ ' max_detection_size' :' {{max_detection_size}}' ,
294294 ' show_models' :' {{show_models}}' ,
295295
296296 },
@@ -308,7 +308,7 @@ ml_sequence= {
308308 ' gpu_max_lock_wait' : {{gpu_max_lock_wait}},
309309 ' cpu_max_processes' : {{cpu_max_processes}},
310310 ' cpu_max_lock_wait' : {{cpu_max_lock_wait}},
311- ' max_detection_size' :' {{max_detection_size}}' ,
311+ ' max_detection_size' :' {{max_detection_size}}' ,
312312 ' match_past_detections' : ' yes' ,
313313 ' past_det_max_diff_area' : ' 5%' ,
314314 ' show_models' :' {{show_models}}'
@@ -344,9 +344,8 @@ ml_sequence= {
344344 ' enabled' : ' no' ,
345345 ' face_detection_framework' : ' tpu' ,
346346 ' face_weights' :' /var/lib/zmeventnotification/models/coral_edgetpu/ssd_mobilenet_v2_face_quant_postprocess_edgetpu.tflite' ,
347- ' face_min_confidence' : 0.3
348-
349- }]
347+ ' face_min_confidence' : 0.3
348+ }]
350349 },
351350
352351 ' alpr' : {
@@ -368,5 +367,5 @@ ml_sequence= {
368367 ' max_size' :1600
369368 }]
370369 }
371- }
370+ } # very important - this brace needs to be indented inside ml_sequence
372371
0 commit comments