matrice 1.0.99149__py3-none-any.whl → 1.0.99150__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/utils/post_processing/usecases/fire_detection.py +8 -0
- {matrice-1.0.99149.dist-info → matrice-1.0.99150.dist-info}/METADATA +1 -1
- {matrice-1.0.99149.dist-info → matrice-1.0.99150.dist-info}/RECORD +6 -6
- {matrice-1.0.99149.dist-info → matrice-1.0.99150.dist-info}/WHEEL +0 -0
- {matrice-1.0.99149.dist-info → matrice-1.0.99150.dist-info}/licenses/LICENSE.txt +0 -0
- {matrice-1.0.99149.dist-info → matrice-1.0.99150.dist-info}/top_level.txt +0 -0
@@ -257,11 +257,16 @@ class FireSmokeUseCase(BaseProcessor):
|
|
257
257
|
by_category = summary.get("by_category", {})
|
258
258
|
detections = summary.get("detections", [])
|
259
259
|
frame_key = str(frame_number) if frame_number is not None else "current_frame"
|
260
|
+
print("-----------ALERTTTTTTTTTTTTSSSSS-----------")
|
261
|
+
print(hasattr(config.alert_config, 'count_thresholds'), config.alert_config.count_thresholds)
|
262
|
+
print(total)
|
263
|
+
print(summary.get("per_category_count", {}))
|
260
264
|
|
261
265
|
if total == 0:
|
262
266
|
return []
|
263
267
|
if not config.alert_config:
|
264
268
|
return alerts
|
269
|
+
|
265
270
|
|
266
271
|
if hasattr(config.alert_config, 'count_thresholds') and config.alert_config.count_thresholds:
|
267
272
|
|
@@ -318,6 +323,9 @@ class FireSmokeUseCase(BaseProcessor):
|
|
318
323
|
current_timestamp = self._get_current_timestamp_str(stream_info)
|
319
324
|
camera_info = self.get_camera_info_from_stream(stream_info)
|
320
325
|
self._ascending_alert_list = self._ascending_alert_list[-900:] if len(self._ascending_alert_list) > 900 else self._ascending_alert_list
|
326
|
+
print("-----------INCIDENTS-----------")
|
327
|
+
print(total)
|
328
|
+
print(summary.get("per_category_count", {}))
|
321
329
|
|
322
330
|
if total > 0:
|
323
331
|
# Calculate total bbox area
|
@@ -175,7 +175,7 @@ matrice/deploy/utils/post_processing/usecases/emergency_vehicle_detection.py,sha
|
|
175
175
|
matrice/deploy/utils/post_processing/usecases/face_emotion.py,sha256=eRfqBdryB0uNoOlz_y-JMuZL1BhPWrI-odqgx_9LT7s,39132
|
176
176
|
matrice/deploy/utils/post_processing/usecases/fashion_detection.py,sha256=f9gpzMDhIW-gyn46k9jgf8nY7YeoqAnTxGOzksabFbE,40457
|
177
177
|
matrice/deploy/utils/post_processing/usecases/field_mapping.py,sha256=JDwYX8pd2W-waDvBh98Y_o_uchJu7wEYbFxOliA4Iq4,39822
|
178
|
-
matrice/deploy/utils/post_processing/usecases/fire_detection.py,sha256=
|
178
|
+
matrice/deploy/utils/post_processing/usecases/fire_detection.py,sha256=ztFoCNxEKyyLtQKp5c8qIH6nZUCvlMYQhppmvZvm9kk,39046
|
179
179
|
matrice/deploy/utils/post_processing/usecases/flare_analysis.py,sha256=-egmS3Hs_iGOLeCMfapbkfQ04EWtZx97QRuUcDa-jMU,45340
|
180
180
|
matrice/deploy/utils/post_processing/usecases/flower_segmentation.py,sha256=4I7qMx9Ztxg_hy9KTVX-3qBhAN-QwDt_Yigf9fFjLus,52017
|
181
181
|
matrice/deploy/utils/post_processing/usecases/gender_detection.py,sha256=DEnCTRew6B7DtPcBQVCTtpd_IQMvMusBcu6nadUg2oM,40107
|
@@ -227,8 +227,8 @@ matrice/deployment/camera_manager.py,sha256=ReBZqm1CNXRImKcbcZ4uWAT3TUWkof1D28oB
|
|
227
227
|
matrice/deployment/deployment.py,sha256=PLIUD-PxTaC2Zxb3Y12wUddsryV-OJetjCjLoSUh7S4,48103
|
228
228
|
matrice/deployment/inference_pipeline.py,sha256=bXLgd29ViA7o0c7YWLFJl1otBUQfTPb61jS6VawQB0Y,37918
|
229
229
|
matrice/deployment/streaming_gateway_manager.py,sha256=w5swGsuFVfZIdOm2ZuBHRHlRdYYJMLopLsf2gb91lQ8,20946
|
230
|
-
matrice-1.0.
|
231
|
-
matrice-1.0.
|
232
|
-
matrice-1.0.
|
233
|
-
matrice-1.0.
|
234
|
-
matrice-1.0.
|
230
|
+
matrice-1.0.99150.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
|
231
|
+
matrice-1.0.99150.dist-info/METADATA,sha256=kKKCIinYcZumDM6ZDoUljBf0juk-dppjw3C5gc4NMRk,14624
|
232
|
+
matrice-1.0.99150.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
233
|
+
matrice-1.0.99150.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
|
234
|
+
matrice-1.0.99150.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|