matrice-analytics 0.1.49__py3-none-any.whl → 0.1.51__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.

Potentially problematic release.


This version of matrice-analytics might be problematic. Click here for more details.

@@ -214,6 +214,7 @@ class TemporalIdentityManager:
214
214
  Update temporal identity state for a track and return a stabilized identity.
215
215
  Returns (staff_id, person_name, score, employee_id, staff_details, detection_type).
216
216
  """
217
+ st7=time.time()
217
218
  self._ensure_track(track_id)
218
219
  s = self.tracks[track_id]
219
220
 
@@ -231,7 +232,7 @@ class TemporalIdentityManager:
231
232
  stable_employee_id = s.get("stable_employee_id")
232
233
  stable_score = float(s.get("stable_score", 0.0))
233
234
  stable_staff_details = s.get("stable_staff_details", {}) if isinstance(s.get("stable_staff_details"), dict) else {}
234
- st7=time.time()
235
+
235
236
  print("------------------FACE RECOG TEMPORAL IDENTITY MANAGER UPDATE - STABLE VALUES----------------------------")
236
237
  print("LATENCY:",(time.time() - st7)*1000,"| Throughput fps:",(1.0 / (time.time() - st7)) if (time.time() - st7) > 0 else None)
237
238
  print("------------------FACE RECOG TEMPORAL IDENTITY MANAGER UPDATE - STABLE VALUES----------------------------")
@@ -215,7 +215,8 @@ class FacialRecognitionClient:
215
215
  "embedding": face_embedding,
216
216
  "collection": collection,
217
217
  "threshold": threshold,
218
- "limit": limit
218
+ "limit": limit,
219
+ "images_required":False,
219
220
  }
220
221
 
221
222
  # Add optional fields only if provided
@@ -564,7 +565,7 @@ class FacialRecognitionClient:
564
565
  def _handle_response(self, response: Dict[str, Any]) -> Dict[str, Any]:
565
566
  """Handle RPC response and errors"""
566
567
  try:
567
- if response.get("success", True):
568
+ if response:
568
569
  return response
569
570
  else:
570
571
  error_msg = response.get("error", "Unknown RPC error")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: matrice_analytics
3
- Version: 0.1.49
3
+ Version: 0.1.51
4
4
  Summary: Common server utilities for Matrice.ai services
5
5
  Author-email: "Matrice.ai" <dipendra@matrice.ai>
6
6
  License-Expression: MIT
@@ -29,8 +29,8 @@ matrice_analytics/post_processing/core/config_utils.py,sha256=QuAS-_JKSoNOtfUWgr
29
29
  matrice_analytics/post_processing/face_reg/__init__.py,sha256=yntaiGlW9vdjBpPZQXNuovALihJPzRlFyUE88l3MhBA,1364
30
30
  matrice_analytics/post_processing/face_reg/compare_similarity.py,sha256=NlFc8b2a74k0PqSFAbuM_fUbA1BT3pr3VUgvSqRpJzQ,23396
31
31
  matrice_analytics/post_processing/face_reg/embedding_manager.py,sha256=qbh0df3-YbE0qvFDQvjpCg-JrsCZRJ5capjQ2LPOj1k,35619
32
- matrice_analytics/post_processing/face_reg/face_recognition.py,sha256=2_9e9W3hUo9LOsjrChIgEMQO_9dIJ_PKYtkj6XAa1uI,98249
33
- matrice_analytics/post_processing/face_reg/face_recognition_client.py,sha256=VxNUcFB0cDnCPZeebYjYKhQfve40V3hdcPVg4FcJmpM,27577
32
+ matrice_analytics/post_processing/face_reg/face_recognition.py,sha256=zBE9qW6_aP4vDdMZvJn3IiJ51zjWczBRDW_fTxARyOg,98258
33
+ matrice_analytics/post_processing/face_reg/face_recognition_client.py,sha256=aWuGC6dRGaf5nN2xhyDIZOeg59r3DFNajcmc3AOxIdI,27594
34
34
  matrice_analytics/post_processing/face_reg/people_activity_logging.py,sha256=vZbIvkK1h3h58ROeF0_ygF3lqr19O2h5222bN8XyIis,13675
35
35
  matrice_analytics/post_processing/ocr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
36
36
  matrice_analytics/post_processing/ocr/easyocr_extractor.py,sha256=RMrRoGb2gMcJEGouQn8U9cCgCLXPT7qRa8liI4LNxFM,11555
@@ -189,8 +189,8 @@ matrice_analytics/post_processing/utils/format_utils.py,sha256=UTF7A5h9j0_S12xH9
189
189
  matrice_analytics/post_processing/utils/geometry_utils.py,sha256=BWfdM6RsdJTTLR1GqkWfdwpjMEjTCJyuBxA4zVGKdfk,9623
190
190
  matrice_analytics/post_processing/utils/smoothing_utils.py,sha256=78U-yucAcjUiZ0NIAc9NOUSIT0PWP1cqyIPA_Fdrjp0,14699
191
191
  matrice_analytics/post_processing/utils/tracking_utils.py,sha256=rWxuotnJ3VLMHIBOud2KLcu4yZfDp7hVPWUtNAq_2xw,8288
192
- matrice_analytics-0.1.49.dist-info/licenses/LICENSE.txt,sha256=_uQUZpgO0mRYL5-fPoEvLSbNnLPv6OmbeEDCHXhK6Qc,1066
193
- matrice_analytics-0.1.49.dist-info/METADATA,sha256=rAaDXN9p20demOvo45wJCi8cjk2x4GmRENFP1J_D0WA,14378
194
- matrice_analytics-0.1.49.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
195
- matrice_analytics-0.1.49.dist-info/top_level.txt,sha256=STAPEU-e-rWTerXaspdi76T_eVRSrEfFpURSP7_Dt8E,18
196
- matrice_analytics-0.1.49.dist-info/RECORD,,
192
+ matrice_analytics-0.1.51.dist-info/licenses/LICENSE.txt,sha256=_uQUZpgO0mRYL5-fPoEvLSbNnLPv6OmbeEDCHXhK6Qc,1066
193
+ matrice_analytics-0.1.51.dist-info/METADATA,sha256=3R94oOATZxOUUWavAyVi_PrYjx7qmgHIDxQ_vx_kBuY,14378
194
+ matrice_analytics-0.1.51.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
195
+ matrice_analytics-0.1.51.dist-info/top_level.txt,sha256=STAPEU-e-rWTerXaspdi76T_eVRSrEfFpURSP7_Dt8E,18
196
+ matrice_analytics-0.1.51.dist-info/RECORD,,