matrice 1.0.99157__py3-none-any.whl → 1.0.99159__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.
@@ -360,6 +360,8 @@ class PostProcessor:
360
360
  result = use_case.process(data, parsed_config, context, stream_info)
361
361
  elif isinstance(use_case, SmokerDetectionUseCase):
362
362
  result = use_case.process(data, parsed_config, context, stream_info)
363
+ elif isinstance(use_case, BottleDefectUseCase):
364
+ result = use_case.process(data, parsed_config, context, stream_info)
363
365
 
364
366
 
365
367
  #Put all IMAGE based usecases here
@@ -78,7 +78,7 @@ class AgeDetectionUseCase(BaseProcessor):
78
78
  self.CASE_TYPE: Optional[str] = 'age_detection'
79
79
  self.CASE_VERSION: Optional[str] = '1.2'
80
80
  # List of categories to track
81
- self.target_categories = ['Female-adult', 'Female-child', 'Female-senior', 'Female-teenager', 'Male-adult', 'Male-child', 'Male-senior', 'Male-teenager']
81
+ self.target_categories = ['AGE- 0-20 FEMALE', 'AGE- 0-20 MALE', 'AGE- 20-30 FEMALE', 'AGE- 20-30 MALE', 'AGE- 30-50 FEMALE', 'AGE- 30-50 MALE', 'AGE- 50- FEMALE', 'AGE- 50- MALE']
82
82
 
83
83
 
84
84
  # Initialize smoothing tracker
@@ -209,6 +209,7 @@ class AgeDetectionUseCase(BaseProcessor):
209
209
  general_counting_summary = calculate_counting_summary(data)
210
210
  counting_summary = self._count_categories(processed_data, config)
211
211
  # Add total unique counts after tracking using only local state
212
+ print(counting_summary)
212
213
  total_counts = self.get_total_counts()
213
214
  counting_summary['total_counts'] = total_counts
214
215
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matrice
3
- Version: 1.0.99157
3
+ Version: 1.0.99159
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
@@ -128,7 +128,7 @@ matrice/deploy/utils/boundary_drawing_internal/boundary_drawing_tool.py,sha256=e
128
128
  matrice/deploy/utils/boundary_drawing_internal/example_usage.py,sha256=cUBhxxsVdTQWIPvIOjCUGrhqon7ZBr5N6qNewjrTIuk,6434
129
129
  matrice/deploy/utils/post_processing/__init__.py,sha256=9wVjSGmFCVYWsgfe2__sXGGSNtnZFKy_DIzeLVzlrwI,23471
130
130
  matrice/deploy/utils/post_processing/config.py,sha256=anKXcN8mD16bNOrErre1gzi17lbKiAAeYc7TEu7ttbk,3476
131
- matrice/deploy/utils/post_processing/processor.py,sha256=tWtZ59d2aSpk8Nzda-lX39iiV43J5m3PN84Vz5PXNqA,30945
131
+ matrice/deploy/utils/post_processing/processor.py,sha256=fqX8aQZi6JogR5iJmXGLXjqUaH0KS60GqZrCfL_7CTw,31090
132
132
  matrice/deploy/utils/post_processing/advanced_tracker/__init__.py,sha256=tAPFzI_Yep5TLX60FDwKqBqppc-EbxSr0wNsQ9DGI1o,423
133
133
  matrice/deploy/utils/post_processing/advanced_tracker/base.py,sha256=VqWy4dd5th5LK-JfueTt2_GSEoOi5QQfQxjTNhmQoLc,3580
134
134
  matrice/deploy/utils/post_processing/advanced_tracker/config.py,sha256=hEVJVbh4uUrbIynmoq4OhuxF2IZA5AMCBLpixScp5FI,2865
@@ -154,7 +154,7 @@ matrice/deploy/utils/post_processing/test_cases/test_utilities.py,sha256=lmT5bp5
154
154
  matrice/deploy/utils/post_processing/test_cases/test_utils.py,sha256=bfmOT1rr9asv3jpr-p_UrjnnSZ1qEWM2LEqNKkyvJZ8,29370
155
155
  matrice/deploy/utils/post_processing/usecases/__init__.py,sha256=gHx_u97JrJ0GPZJhhKaeWOys4ZvidSbvBB8hWBcqx8g,7540
156
156
  matrice/deploy/utils/post_processing/usecases/advanced_customer_service.py,sha256=ELt5euxr6P4X2s8-YGngmj27QscOHefjOsx3774sNFk,75914
157
- matrice/deploy/utils/post_processing/usecases/age_detection.py,sha256=4EZ__lIRlczVk6LIv6pPhDGyLv_7bi-jmyXoMoA2UlU,41260
157
+ matrice/deploy/utils/post_processing/usecases/age_detection.py,sha256=yn1LXOgbnOWSMDnsCds6-uN6W-I1Hy4_-AMrjbT5PtY,41318
158
158
  matrice/deploy/utils/post_processing/usecases/anti_spoofing_detection.py,sha256=XdtDdXGzZMLQdWcoOoiE5t4LPYHhgOtJ7tZCNlq1A2E,31329
159
159
  matrice/deploy/utils/post_processing/usecases/assembly_line_detection.py,sha256=I_oeuec84KJnGMg_A8Wgs9U6h_IiopkDz9FbM1JG110,40410
160
160
  matrice/deploy/utils/post_processing/usecases/banana_defect_detection.py,sha256=uKvB550Xve3iWfdWeOU3VhgORxD-M_UzsQDQKkYcFBc,30338
@@ -227,8 +227,8 @@ matrice/deployment/camera_manager.py,sha256=ReBZqm1CNXRImKcbcZ4uWAT3TUWkof1D28oB
227
227
  matrice/deployment/deployment.py,sha256=PLIUD-PxTaC2Zxb3Y12wUddsryV-OJetjCjLoSUh7S4,48103
228
228
  matrice/deployment/inference_pipeline.py,sha256=bXLgd29ViA7o0c7YWLFJl1otBUQfTPb61jS6VawQB0Y,37918
229
229
  matrice/deployment/streaming_gateway_manager.py,sha256=w5swGsuFVfZIdOm2ZuBHRHlRdYYJMLopLsf2gb91lQ8,20946
230
- matrice-1.0.99157.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
231
- matrice-1.0.99157.dist-info/METADATA,sha256=c-iL1khgTHINoN1xxhe_E79H_iFZiz01fqdaHw0UFsU,14624
232
- matrice-1.0.99157.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
233
- matrice-1.0.99157.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
234
- matrice-1.0.99157.dist-info/RECORD,,
230
+ matrice-1.0.99159.dist-info/licenses/LICENSE.txt,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
231
+ matrice-1.0.99159.dist-info/METADATA,sha256=xbn3R0LiXnLYB5OI31ROTDxq59ztMHALTmf7oiPr1R8,14624
232
+ matrice-1.0.99159.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
233
+ matrice-1.0.99159.dist-info/top_level.txt,sha256=P97js8ur6o5ClRqMH3Cjoab_NqbJ6sOQ3rJmVzKBvMc,8
234
+ matrice-1.0.99159.dist-info/RECORD,,