matrice 1.0.99148__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/deploy/utils/post_processing/usecases/price_tag_detection.py +1 -1
- {matrice-1.0.99148.dist-info → matrice-1.0.99150.dist-info}/METADATA +1 -1
- {matrice-1.0.99148.dist-info → matrice-1.0.99150.dist-info}/RECORD +7 -7
- {matrice-1.0.99148.dist-info → matrice-1.0.99150.dist-info}/WHEEL +0 -0
- {matrice-1.0.99148.dist-info → matrice-1.0.99150.dist-info}/licenses/LICENSE.txt +0 -0
- {matrice-1.0.99148.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
|
@@ -60,7 +60,7 @@ class PriceTagUseCase(BaseProcessor):
|
|
60
60
|
self.category = "retail"
|
61
61
|
|
62
62
|
self.CASE_TYPE: Optional[str] = 'price_tag_detection'
|
63
|
-
self.CASE_VERSION: Optional[str] = '1.
|
63
|
+
self.CASE_VERSION: Optional[str] = '1.3'
|
64
64
|
|
65
65
|
# List of categories to track
|
66
66
|
self.target_categories = ['pricetag']
|
@@ -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
|
@@ -191,7 +191,7 @@ matrice/deploy/utils/post_processing/usecases/pipeline_detection.py,sha256=VsLTX
|
|
191
191
|
matrice/deploy/utils/post_processing/usecases/plaque_segmentation_img.py,sha256=d__a0PkkObYVoC-Q5-2bFVfeyKnQHtB5xVAKVOCeFyk,41925
|
192
192
|
matrice/deploy/utils/post_processing/usecases/pothole_segmentation.py,sha256=6Mv8SoEE5CGItY7S0g-SY5Lb3DV-WWVMlpEp04a86a8,43197
|
193
193
|
matrice/deploy/utils/post_processing/usecases/ppe_compliance.py,sha256=G9P9j9E9nfNJInHJxmK1Lb4daFBlG5hq0aqotTLvFFE,30146
|
194
|
-
matrice/deploy/utils/post_processing/usecases/price_tag_detection.py,sha256=
|
194
|
+
matrice/deploy/utils/post_processing/usecases/price_tag_detection.py,sha256=09Tp6MGAHh95s-NSAp-4WC9iCc20sajWApuUBAvgXiQ,39880
|
195
195
|
matrice/deploy/utils/post_processing/usecases/road_lane_detection.py,sha256=V_KxwBtAHSNkyoH8sXw-U-P3J8ToXtX3ncc69gn6Tds,31591
|
196
196
|
matrice/deploy/utils/post_processing/usecases/shelf_inventory_detection.py,sha256=1juloltHnCj3U499Aps0ggE0nEI37x3iKe4DgfP4RCw,29140
|
197
197
|
matrice/deploy/utils/post_processing/usecases/shoplifting_detection.py,sha256=zqeV_ARV5gJqMY2sJGBjlU6UOb0SthGGbC8UNj_mycs,34701
|
@@ -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
|