matrice 1.0.99256__py3-none-any.whl → 1.0.99257__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 +11 -10
- {matrice-1.0.99256.dist-info → matrice-1.0.99257.dist-info}/METADATA +1 -1
- {matrice-1.0.99256.dist-info → matrice-1.0.99257.dist-info}/RECORD +6 -6
- {matrice-1.0.99256.dist-info → matrice-1.0.99257.dist-info}/WHEEL +0 -0
- {matrice-1.0.99256.dist-info → matrice-1.0.99257.dist-info}/licenses/LICENSE.txt +0 -0
- {matrice-1.0.99256.dist-info → matrice-1.0.99257.dist-info}/top_level.txt +0 -0
@@ -47,16 +47,8 @@ class FireSmokeConfig(BaseConfig):
|
|
47
47
|
default_factory=lambda: ['fire']
|
48
48
|
)
|
49
49
|
|
50
|
-
alert_config: Optional[AlertConfig] =
|
51
|
-
|
52
|
-
"count_thresholds": {
|
53
|
-
"fire": 0
|
54
|
-
},
|
55
|
-
"alert_type":["email"],
|
56
|
-
"alert_value":["FIREtest@matrice.ai.com"],
|
57
|
-
"alert_incident_category":["FIRE-ALERT"]
|
58
|
-
}
|
59
|
-
alert_config = AlertConfig(**alert_config)
|
50
|
+
alert_config: Optional[AlertConfig] = None
|
51
|
+
|
60
52
|
|
61
53
|
time_window_minutes: int = 60
|
62
54
|
enable_unique_counting: bool = True
|
@@ -200,6 +192,15 @@ class FireSmokeUseCase(BaseProcessor):
|
|
200
192
|
frame_number = start_frame
|
201
193
|
|
202
194
|
# Step 7: alerts
|
195
|
+
alert_config={
|
196
|
+
"count_thresholds": {
|
197
|
+
"fire": 0
|
198
|
+
},
|
199
|
+
"alert_type":["email"],
|
200
|
+
"alert_value":["FIREtest@matrice.ai.com"],
|
201
|
+
"alert_incident_category":["FIRE-ALERT"]
|
202
|
+
}
|
203
|
+
config.alert_config = AlertConfig(**alert_config)
|
203
204
|
print("-----------------------------------------------")
|
204
205
|
print(config.confidence_threshold)
|
205
206
|
print(config.fire_smoke_categories)
|
@@ -182,7 +182,7 @@ matrice/deploy/utils/post_processing/usecases/face_emotion.py,sha256=eRfqBdryB0u
|
|
182
182
|
matrice/deploy/utils/post_processing/usecases/face_recognition.py,sha256=T5xAuv6b9OrkmTmoXgZs4LZ5XUsbvp9xCpeLBwdu7eI,40231
|
183
183
|
matrice/deploy/utils/post_processing/usecases/fashion_detection.py,sha256=f9gpzMDhIW-gyn46k9jgf8nY7YeoqAnTxGOzksabFbE,40457
|
184
184
|
matrice/deploy/utils/post_processing/usecases/field_mapping.py,sha256=JDwYX8pd2W-waDvBh98Y_o_uchJu7wEYbFxOliA4Iq4,39822
|
185
|
-
matrice/deploy/utils/post_processing/usecases/fire_detection.py,sha256=
|
185
|
+
matrice/deploy/utils/post_processing/usecases/fire_detection.py,sha256=J3sQlxK8k0nWYwwi6noD9ctZBpmWhUS373pFauWCWQs,47692
|
186
186
|
matrice/deploy/utils/post_processing/usecases/flare_analysis.py,sha256=-egmS3Hs_iGOLeCMfapbkfQ04EWtZx97QRuUcDa-jMU,45340
|
187
187
|
matrice/deploy/utils/post_processing/usecases/flower_segmentation.py,sha256=4I7qMx9Ztxg_hy9KTVX-3qBhAN-QwDt_Yigf9fFjLus,52017
|
188
188
|
matrice/deploy/utils/post_processing/usecases/gas_leak_detection.py,sha256=KL2ft7fXvjTas-65-QgcJm3W8KBsrwF44qibSXjfaLc,40557
|
@@ -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.99257.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
|
247
|
+
matrice-1.0.99257.dist-info/METADATA,sha256=DNh3aRTx6ql2a9VTDdf25LsVsVbJdxbGuELKURGS91o,14624
|
248
|
+
matrice-1.0.99257.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
249
|
+
matrice-1.0.99257.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
|
250
|
+
matrice-1.0.99257.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|