matrice 1.0.99137__py3-none-any.whl → 1.0.99139__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.
@@ -117,16 +117,18 @@ class ConcreteCrackUseCase(BaseProcessor):
117
117
  processed_data = data
118
118
 
119
119
  self.logger.debug(f"Did not apply confidence filtering with threshold since nothing was provided")
120
+ print("---------------------processed_1-----------------------------------")
120
121
  print(processed_data)
121
122
  # Step 2: Apply category mapping if provided
122
123
  if config.index_to_category:
123
124
  processed_data = apply_category_mapping(processed_data, config.index_to_category)
124
125
  self.logger.debug("Applied category mapping")
126
+ print("---------------------processed_2-----------------------------------")
125
127
  print(processed_data)
126
128
  if config.target_categories:
127
129
  processed_data = [d for d in processed_data if d.get('category') in self.target_categories]
128
130
  self.logger.debug(f"Applied category filtering")
129
-
131
+ print("---------------------processed_3-----------------------------------")
130
132
  print(processed_data)
131
133
 
132
134
  # Apply bbox smoothing if enabled
@@ -141,8 +143,9 @@ class ConcreteCrackUseCase(BaseProcessor):
141
143
  enable_smoothing=True
142
144
  )
143
145
  self.smoothing_tracker = BBoxSmoothingTracker(smoothing_config)
146
+ print("---------------------processed_4-----------------------------------")
144
147
  processed_data = bbox_smoothing(processed_data, self.smoothing_tracker.config, self.smoothing_tracker)
145
-
148
+ print(processed_data)
146
149
  # Advanced tracking (BYTETracker-like)
147
150
  try:
148
151
  from ..advanced_tracker import AdvancedTracker
@@ -157,6 +160,8 @@ class ConcreteCrackUseCase(BaseProcessor):
157
160
  # The tracker expects the data in the same format as input
158
161
  # It will add track_id and frame_id to each detection
159
162
  processed_data = self.tracker.update(processed_data)
163
+ print("---------------------processed_4-----------------------------------")
164
+ print(processed_data)
160
165
 
161
166
  except Exception as e:
162
167
  # If advanced tracker fails, fallback to unsmoothed detections
@@ -184,7 +189,8 @@ class ConcreteCrackUseCase(BaseProcessor):
184
189
  # Add total unique counts after tracking using only local state
185
190
  total_counts = self.get_total_counts()
186
191
  counting_summary['total_counts'] = total_counts
187
-
192
+ print("---------------------counting_summ-----------------------------------")
193
+ print(counting_summary)
188
194
  alerts = self._check_alerts(counting_summary, frame_number, config)
189
195
  predictions = self._extract_predictions(processed_data)
190
196
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matrice
3
- Version: 1.0.99137
3
+ Version: 1.0.99139
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
@@ -166,7 +166,7 @@ matrice/deploy/utils/post_processing/usecases/chicken_pose_detection.py,sha256=-
166
166
  matrice/deploy/utils/post_processing/usecases/child_monitoring.py,sha256=z3oymoqq4hDGwA8MkdEONZW_Vx5CAZmvzZaNLsqmCfw,39380
167
167
  matrice/deploy/utils/post_processing/usecases/color_detection.py,sha256=Z8-akjy8a7f8YyiOzXu_Zi1Km30v-TRrymDqQOPpJ_8,43277
168
168
  matrice/deploy/utils/post_processing/usecases/color_map_utils.py,sha256=SP-AEVcjLmL8rxblu-ixqUJC2fqlcr7ab4hWo4Fcr_k,2677
169
- matrice/deploy/utils/post_processing/usecases/concrete_crack_detection.py,sha256=i5wPBdGyP3mLab7LJWED9W7BkE8t7HY9YdMG0EQGcfg,40023
169
+ matrice/deploy/utils/post_processing/usecases/concrete_crack_detection.py,sha256=9IVHC2z3FKu8Pg-UjQfNpIjx_4ssE520us3leeBe-dk,40624
170
170
  matrice/deploy/utils/post_processing/usecases/crop_weed_detection.py,sha256=i7BWhC-D7liOg9fzFHFg_upd1fdvXlVHYzDRyHL-AdM,40322
171
171
  matrice/deploy/utils/post_processing/usecases/customer_service.py,sha256=UWS83qxguyAyhh8a0JF5QH9DtKxO8I-gI2BPOjLPxBw,44642
172
172
  matrice/deploy/utils/post_processing/usecases/defect_detection_products.py,sha256=flvTWv6vxa3q4zXD8_e8TW0pqNE5z3LIuvU9ceVKuXg,34481
@@ -225,8 +225,8 @@ matrice/deployment/camera_manager.py,sha256=ReBZqm1CNXRImKcbcZ4uWAT3TUWkof1D28oB
225
225
  matrice/deployment/deployment.py,sha256=PLIUD-PxTaC2Zxb3Y12wUddsryV-OJetjCjLoSUh7S4,48103
226
226
  matrice/deployment/inference_pipeline.py,sha256=bXLgd29ViA7o0c7YWLFJl1otBUQfTPb61jS6VawQB0Y,37918
227
227
  matrice/deployment/streaming_gateway_manager.py,sha256=w5swGsuFVfZIdOm2ZuBHRHlRdYYJMLopLsf2gb91lQ8,20946
228
- matrice-1.0.99137.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
229
- matrice-1.0.99137.dist-info/METADATA,sha256=y48Hr3KPa1ZL6hVjUzYY-kfy2cCOy-KupED29uWNObU,14624
230
- matrice-1.0.99137.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
231
- matrice-1.0.99137.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
232
- matrice-1.0.99137.dist-info/RECORD,,
228
+ matrice-1.0.99139.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
229
+ matrice-1.0.99139.dist-info/METADATA,sha256=MvsxaJXsosePJ1fRCShaeA1k7WYQJRn5JIgT-0Okd2M,14624
230
+ matrice-1.0.99139.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
231
+ matrice-1.0.99139.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
232
+ matrice-1.0.99139.dist-info/RECORD,,