matrice 1.0.99135__py3-none-any.whl → 1.0.99136__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.
@@ -415,7 +415,7 @@ class ConcreteCrackUseCase(BaseProcessor):
415
415
  "category": cat,
416
416
  "count": count
417
417
  })
418
-
418
+ print(total_counts)
419
419
  # Build current_counts array in expected format
420
420
  current_counts = []
421
421
  for cat, count in per_category_count.items():
@@ -424,7 +424,7 @@ class ConcreteCrackUseCase(BaseProcessor):
424
424
  "category": cat,
425
425
  "count": count
426
426
  })
427
-
427
+ print(current_counts)
428
428
  # Prepare detections without confidence scores (as per eg.json)
429
429
  detections = []
430
430
  for detection in counting_summary.get("detections", []):
@@ -476,6 +476,7 @@ class ConcreteCrackUseCase(BaseProcessor):
476
476
  human_text_lines.append("Alerts: None")
477
477
 
478
478
  human_text = "\n".join(human_text_lines)
479
+ print(human_text)
479
480
  reset_settings = [
480
481
  {
481
482
  "interval_type": "daily",
@@ -676,6 +677,8 @@ class ConcreteCrackUseCase(BaseProcessor):
676
677
  cat = det.get('category', 'unknown')
677
678
  counts[cat] = counts.get(cat, 0) + 1
678
679
  # Each detection dict will now include 'track_id' (and possibly 'frame_id')
680
+ print(counts)
681
+ print(detections)
679
682
  return {
680
683
  "total_count": sum(counts.values()),
681
684
  "per_category_count": counts,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matrice
3
- Version: 1.0.99135
3
+ Version: 1.0.99136
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=s3B_oHfW2FWS1cayh-WYQ5KinRYDjwFwg6F55i9ktjo,39386
169
+ matrice/deploy/utils/post_processing/usecases/concrete_crack_detection.py,sha256=Fe8aE6q8q7EE7-FEoBOu_N430fl7-Q388vG_I1DWMmY,39516
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.99135.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
229
- matrice-1.0.99135.dist-info/METADATA,sha256=26E4_zThZGeUPboye1ZuJ5GeHG_hI7MrPMN3KTdUMgU,14624
230
- matrice-1.0.99135.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
231
- matrice-1.0.99135.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
232
- matrice-1.0.99135.dist-info/RECORD,,
228
+ matrice-1.0.99136.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
229
+ matrice-1.0.99136.dist-info/METADATA,sha256=a5upAi7nb17uQZwNLpwNwwXLYHk4D-6ok24O7dZ8jF0,14624
230
+ matrice-1.0.99136.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
231
+ matrice-1.0.99136.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
232
+ matrice-1.0.99136.dist-info/RECORD,,