matrice 1.0.99265__py3-none-any.whl → 1.0.99267__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.
@@ -37,7 +37,7 @@ from ..utils import (
37
37
 
38
38
  @dataclass
39
39
  class FireSmokeConfig(BaseConfig):
40
- confidence_threshold: float = 0.3
40
+ confidence_threshold: float = 0.05
41
41
 
42
42
  # Only fire and smoke categories included here (exclude normal)
43
43
  fire_smoke_categories: List[str] = field(
@@ -137,7 +137,7 @@ class FireSmokeUseCase(BaseProcessor):
137
137
  input_format = match_results_structure(data)
138
138
  context.input_format = input_format
139
139
  context.confidence_threshold = config.confidence_threshold
140
- self.logger.info(f"Processing fire and smoke detection with format: {input_format.value}")
140
+ self.logger.info(f"Processing fire and smoke detection with format: {input_format.value} with threshold: {config.confidence_threshold}")
141
141
 
142
142
  # Step 2: Confidence thresholding
143
143
  processed_data = data
@@ -625,12 +625,12 @@ class ProximityUseCase(BaseProcessor):
625
625
  human_text_lines.append(f"CURRENT FRAME @ {current_timestamp}:")
626
626
 
627
627
  # Add proximity count to human text
628
+ # Add proximity count to human text
628
629
  proximity_count = self._count_proximity_events(detections)
629
630
  if proximity_count > 0:
630
- human_text_lines.append(f"\t- Proximity Events Detected: {proximity_count}")
631
+ human_text_lines.append(f"\t- Current Frame Proximity: {proximity_count}")
631
632
  else:
632
633
  human_text_lines.append("\t- No Proximity Events Detected")
633
- # human_text_lines.append(f"\t- People Detected: {total_people}")
634
634
 
635
635
  human_text_lines.append("")
636
636
  if proximity_count > 0:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matrice
3
- Version: 1.0.99265
3
+ Version: 1.0.99267
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
@@ -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=N1e65cZoaZLqYuspC6NAilO-0u6i9EOWFKCdD9YlmAs,47722
185
+ matrice/deploy/utils/post_processing/usecases/fire_detection.py,sha256=21l4aZLYXsxdYPe7CGniI_qzb7uUCHmh9WcYQNXBARw,47769
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
@@ -204,7 +204,7 @@ matrice/deploy/utils/post_processing/usecases/plaque_segmentation_img.py,sha256=
204
204
  matrice/deploy/utils/post_processing/usecases/pothole_segmentation.py,sha256=jXTb8ZqInp5xJ-O3Zp3zQBiryFVD0-WBbhW6Kux_NDo,44905
205
205
  matrice/deploy/utils/post_processing/usecases/ppe_compliance.py,sha256=G9P9j9E9nfNJInHJxmK1Lb4daFBlG5hq0aqotTLvFFE,30146
206
206
  matrice/deploy/utils/post_processing/usecases/price_tag_detection.py,sha256=09Tp6MGAHh95s-NSAp-4WC9iCc20sajWApuUBAvgXiQ,39880
207
- matrice/deploy/utils/post_processing/usecases/proximity_detection.py,sha256=YySgDaIFY-CEqaRkPJoI8HXTNxwe-XGFYmemPoaenJ8,78430
207
+ matrice/deploy/utils/post_processing/usecases/proximity_detection.py,sha256=vgQCVep4yJnZZlOh33M2x2p4N980dYwDifam8_2-Gwc,78406
208
208
  matrice/deploy/utils/post_processing/usecases/road_lane_detection.py,sha256=V_KxwBtAHSNkyoH8sXw-U-P3J8ToXtX3ncc69gn6Tds,31591
209
209
  matrice/deploy/utils/post_processing/usecases/road_traffic_density.py,sha256=YiHQ0kKhXglagHPvygywxMqZAw8s0WharrBQqLQj2q4,40311
210
210
  matrice/deploy/utils/post_processing/usecases/road_view_segmentation.py,sha256=BcBbOOg5622KuvzKrzs9cJW1wkRoIIcOab0N7BONQKQ,44986
@@ -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.99265.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
247
- matrice-1.0.99265.dist-info/METADATA,sha256=HfDECYWS5i_0EPFnpwUuQbCJkjtgFfmJkHrq-MMpo-M,14624
248
- matrice-1.0.99265.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
249
- matrice-1.0.99265.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
250
- matrice-1.0.99265.dist-info/RECORD,,
246
+ matrice-1.0.99267.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
247
+ matrice-1.0.99267.dist-info/METADATA,sha256=AKbp9IcGh4knRNdZ5uVslhXEEu4Xl92xoXvJRBt9jPw,14624
248
+ matrice-1.0.99267.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
249
+ matrice-1.0.99267.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
250
+ matrice-1.0.99267.dist-info/RECORD,,