matrice 1.0.99263__py3-none-any.whl → 1.0.99264__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- matrice/deploy/client/streaming_gateway/streaming_gateway_utils.py +2 -1
- matrice/deploy/client/streaming_gateway/streaming_results_handler.py +2 -1
- {matrice-1.0.99263.dist-info → matrice-1.0.99264.dist-info}/METADATA +1 -1
- {matrice-1.0.99263.dist-info → matrice-1.0.99264.dist-info}/RECORD +7 -7
- {matrice-1.0.99263.dist-info → matrice-1.0.99264.dist-info}/WHEEL +0 -0
- {matrice-1.0.99263.dist-info → matrice-1.0.99264.dist-info}/licenses/LICENSE.txt +0 -0
- {matrice-1.0.99263.dist-info → matrice-1.0.99264.dist-info}/top_level.txt +0 -0
@@ -372,7 +372,8 @@ class _RealTimeJsonEventPicker:
|
|
372
372
|
A dictionary describing the detected event or ``None`` if no event
|
373
373
|
boundary was reached for the supplied frame.
|
374
374
|
"""
|
375
|
-
incidents = frame_json.get("result").get("value").get("agg_summary")[str(frame_id)].get("incidents") or []
|
375
|
+
#incidents = frame_json.get("result").get("value").get("agg_summary")[str(frame_id)].get("incidents") or []
|
376
|
+
incidents = frame_json.get("result").get("value").get("agg_apps")[0].get("agg_summary")[str(frame_id)].get("incidents") or []
|
376
377
|
has_alerts = bool(incidents and incidents.get("alerts")[0])
|
377
378
|
|
378
379
|
if has_alerts:
|
@@ -317,7 +317,8 @@ class StreamingResultsHandler:
|
|
317
317
|
raise
|
318
318
|
def _send_file_to_api_(self, frame_json):
|
319
319
|
"""Send file to API."""
|
320
|
-
frame_id = list(frame_json.get("result").get("value").get("agg_summary").keys())[0]
|
320
|
+
# frame_id = list(frame_json.get("result").get("value").get("agg_summary").keys())[0]
|
321
|
+
frame_id = list(frame_json.get("result").get("value").get("agg_apps")[0].get("agg_summary").keys())[0]
|
321
322
|
return self.json_event_picker.process(int(frame_id), frame_json)
|
322
323
|
def _cleanup_old_files(self):
|
323
324
|
"""Remove old result files if exceeding max_files limit."""
|
@@ -108,8 +108,8 @@ matrice/deploy/client/auto_streaming/auto_streaming.py,sha256=VRfy_EBFvhspN-hoN3
|
|
108
108
|
matrice/deploy/client/auto_streaming/auto_streaming_utils.py,sha256=BuRUokLp3t43yzRF8YSX9p_RHQD94RoBwNEoldXFDQo,14995
|
109
109
|
matrice/deploy/client/streaming_gateway/__init__.py,sha256=hkYC0qszaXZThquMuuI20Qkt_AHCB3pdy7jlJVeqPN4,1203
|
110
110
|
matrice/deploy/client/streaming_gateway/streaming_gateway.py,sha256=r8Z5AXBom89n-8W5RTlB-nOeUaprxK-QBDsAb-E9gl8,19605
|
111
|
-
matrice/deploy/client/streaming_gateway/streaming_gateway_utils.py,sha256=
|
112
|
-
matrice/deploy/client/streaming_gateway/streaming_results_handler.py,sha256=
|
111
|
+
matrice/deploy/client/streaming_gateway/streaming_gateway_utils.py,sha256=znNZkzG9W7VeZPKUxzgxHiW1GqvD-oA-McZSnMiBm1E,42144
|
112
|
+
matrice/deploy/client/streaming_gateway/streaming_results_handler.py,sha256=OpHkdbnuqVN28tQm9CYwrfgAth3Qz40Uaq5Tg4bbxyo,15813
|
113
113
|
matrice/deploy/server/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
114
114
|
matrice/deploy/server/server.py,sha256=duki4KUU1tvW3Y7wkrlMRVvt7bAP2QqSIsrSogLxC4o,36799
|
115
115
|
matrice/deploy/server/stream_worker.py,sha256=KDNlYep4Bg1xhHwDrwY9kfxsJfFtATydiYbzVDt58vs,20481
|
@@ -243,8 +243,8 @@ matrice/deployment/camera_manager.py,sha256=e1Lc81RJP5wUWRdTgHO6tMWF9BkBdHOSVyx3
|
|
243
243
|
matrice/deployment/deployment.py,sha256=HFt151eWq6iqIAMsQvurpV2WNxW6Cx_gIUVfnVy5SWE,48093
|
244
244
|
matrice/deployment/inference_pipeline.py,sha256=6b4Mm3-qt-Zy0BeiJfFQdImOn3FzdNCY-7ET7Rp8PMk,37911
|
245
245
|
matrice/deployment/streaming_gateway_manager.py,sha256=ifYGl3g25wyU39HwhPQyI2OgF3M6oIqKMWt8RXtMxY8,21401
|
246
|
-
matrice-1.0.
|
247
|
-
matrice-1.0.
|
248
|
-
matrice-1.0.
|
249
|
-
matrice-1.0.
|
250
|
-
matrice-1.0.
|
246
|
+
matrice-1.0.99264.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
|
247
|
+
matrice-1.0.99264.dist-info/METADATA,sha256=_2o9NOe0Kq4cwjZzBR0PnXGW1_Alh0OTTUYeIJgmdBc,14624
|
248
|
+
matrice-1.0.99264.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
249
|
+
matrice-1.0.99264.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
|
250
|
+
matrice-1.0.99264.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|