matrice 1.0.99135__py3-none-any.whl → 1.0.99137__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,8 @@ class ConcreteCrackUseCase(BaseProcessor):
415
415
  "category": cat,
416
416
  "count": count
417
417
  })
418
-
418
+ print("-----------------------------total_counts---------------------------------------")
419
+ print(total_counts)
419
420
  # Build current_counts array in expected format
420
421
  current_counts = []
421
422
  for cat, count in per_category_count.items():
@@ -424,7 +425,8 @@ class ConcreteCrackUseCase(BaseProcessor):
424
425
  "category": cat,
425
426
  "count": count
426
427
  })
427
-
428
+ print("----------------------------------current_counts---------------------------------------")
429
+ print(current_counts)
428
430
  # Prepare detections without confidence scores (as per eg.json)
429
431
  detections = []
430
432
  for detection in counting_summary.get("detections", []):
@@ -476,6 +478,8 @@ class ConcreteCrackUseCase(BaseProcessor):
476
478
  human_text_lines.append("Alerts: None")
477
479
 
478
480
  human_text = "\n".join(human_text_lines)
481
+ print("-------------------------------human_text-----------------------------------------------------")
482
+ print(human_text)
479
483
  reset_settings = [
480
484
  {
481
485
  "interval_type": "daily",
@@ -676,6 +680,10 @@ class ConcreteCrackUseCase(BaseProcessor):
676
680
  cat = det.get('category', 'unknown')
677
681
  counts[cat] = counts.get(cat, 0) + 1
678
682
  # Each detection dict will now include 'track_id' (and possibly 'frame_id')
683
+ print("---------------------------------COUNTS-------------------------------------")
684
+ print(counts)
685
+ print("---------------------------------Detections-------------------------------------")
686
+ print(detections)
679
687
  return {
680
688
  "total_count": sum(counts.values()),
681
689
  "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.99137
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=i5wPBdGyP3mLab7LJWED9W7BkE8t7HY9YdMG0EQGcfg,40023
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.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,,