matrice 1.0.99261__py3-none-any.whl → 1.0.99262__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.
@@ -327,7 +327,7 @@ class AutoStreaming:
327
327
  gateway = StreamingGateway(
328
328
  session=self.session,
329
329
  service_id=service_id,
330
- output_config=self.output_configs.get(gateway_id, None),
330
+ output_config=self.output_configs,
331
331
  inputs_config=input_configs,
332
332
  result_callback=self.result_callback,
333
333
  strip_input_from_result=self.strip_input_from_result,
@@ -209,18 +209,6 @@ class FireSmokeUseCase(BaseProcessor):
209
209
  alert_value=["FIRE_INFO@matrice.ai"],
210
210
  alert_incident_category=["FIRE-ALERT"]
211
211
  )
212
- print("-----------------------------------------------")
213
- print(config.confidence_threshold)
214
- print(config.fire_smoke_categories)
215
- print(config.index_to_category)
216
- print(config.target_categories)
217
- print(config.threshold_area)
218
- print(config.alert_config)
219
- print(config.alert_config.alert_type)
220
- print(config.alert_config.count_thresholds)
221
- print(config.alert_config.alert_value)
222
- print(config.alert_config.alert_incident_category)
223
- print("-----------------------------------------------")
224
212
 
225
213
  alerts = self._check_alerts(fire_smoke_summary, frame_number, config, stream_info)
226
214
 
@@ -243,7 +231,7 @@ class FireSmokeUseCase(BaseProcessor):
243
231
  incidents = incidents_list[0] if incidents_list else {}
244
232
  tracking_stats = tracking_stats_list[0] if tracking_stats_list else {}
245
233
  #EVENT ENDED SIGNAL
246
-
234
+
247
235
  if len(tracking_stats_list)==3:
248
236
  alerts = tracking_stats_list[1]
249
237
  incidents = tracking_stats_list[2]
@@ -266,7 +254,9 @@ class FireSmokeUseCase(BaseProcessor):
266
254
  usecase=self.name,
267
255
  category=self.category,
268
256
  context=context)
269
-
257
+ print("-----------------------------------------------")
258
+ print(tracking_stats)
259
+ print("-----------------------------------------------")
270
260
  return result
271
261
 
272
262
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matrice
3
- Version: 1.0.99261
3
+ Version: 1.0.99262
4
4
  Summary: SDK for connecting to matrice.ai services
5
5
  Home-page: https://github.com/matrice-ai/python-sdk
6
6
  Author: Matrice.ai
@@ -104,7 +104,7 @@ matrice/deploy/client/client_stream_utils.py,sha256=IcJf8Xn8VMrvxplKqSP5qNIwvu8-
104
104
  matrice/deploy/client/client_utils.py,sha256=cJ47Q-BWkYCXMdCz__6VlfpMroq1kb8tZ887rdOZI24,14548
105
105
  matrice/deploy/client/frame_comparators.py,sha256=s5K-C3N2yeVz8XSPdvmKO_MX8x6rLKgd6Bs6DEBpaNw,20536
106
106
  matrice/deploy/client/auto_streaming/__init__.py,sha256=4mwoPkADPDWGwxokxFgL2HFppqsIlym29634iXvBcR0,413
107
- matrice/deploy/client/auto_streaming/auto_streaming.py,sha256=uccYMz2-5YxiB4J4oTfNgyMp6A8UvGkmSyVXkG1WGC4,25537
107
+ matrice/deploy/client/auto_streaming/auto_streaming.py,sha256=VRfy_EBFvhspN-hoN3GnRGu5gAb-HFEC6M1cqF-NJsk,25515
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
@@ -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=Xds7kFo7WFEFLHpxRtf3pHr6uSl5yNwzaNC5HNgd0vE,48356
185
+ matrice/deploy/utils/post_processing/usecases/fire_detection.py,sha256=_s--Vc3_5owzoW6EF4zoKLQuis1LPpDd3HrNxBfg4Zw,47894
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.99261.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
247
- matrice-1.0.99261.dist-info/METADATA,sha256=9IBu85a68otO8eER-uJWNobTcOW2272qY-ERdmaQ7pw,14624
248
- matrice-1.0.99261.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
249
- matrice-1.0.99261.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
250
- matrice-1.0.99261.dist-info/RECORD,,
246
+ matrice-1.0.99262.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
247
+ matrice-1.0.99262.dist-info/METADATA,sha256=fJGRELZIZR3e6xpTeNgdf3jVQz-Mi4Sl1dBhmWobw-o,14624
248
+ matrice-1.0.99262.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
249
+ matrice-1.0.99262.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
250
+ matrice-1.0.99262.dist-info/RECORD,,