camera-ui-ml 1.2.3__tar.gz → 1.2.4__tar.gz

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.
Files changed (25) hide show
  1. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/PKG-INFO +1 -1
  2. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/pipelines.py +3 -1
  3. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml.egg-info/PKG-INFO +1 -1
  4. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/pyproject.toml +1 -1
  5. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/LICENSE.md +0 -0
  6. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/README.md +0 -0
  7. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/__init__.py +0 -0
  8. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/backend.py +0 -0
  9. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/detectors/__init__.py +0 -0
  10. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/detectors/base.py +0 -0
  11. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/detectors/box.py +0 -0
  12. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/detectors/clip.py +0 -0
  13. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/detectors/embedder.py +0 -0
  14. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/detectors/ocr.py +0 -0
  15. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/geometry.py +0 -0
  16. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/model_manager.py +0 -0
  17. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/parsing.py +0 -0
  18. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/pipeline.py +0 -0
  19. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/preprocess.py +0 -0
  20. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/py.typed +0 -0
  21. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml.egg-info/SOURCES.txt +0 -0
  22. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml.egg-info/dependency_links.txt +0 -0
  23. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml.egg-info/requires.txt +0 -0
  24. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml.egg-info/top_level.txt +0 -0
  25. {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: camera-ui-ml
3
- Version: 1.2.3
3
+ Version: 1.2.4
4
4
  Summary: Shared ML inference framework for camera.ui detection plugins (onnx, openvino, coreml, ncnn)
5
5
  Author-email: seydx <hi@seydx.dev>
6
6
  Maintainer-email: seydx <hi@seydx.dev>
@@ -105,11 +105,13 @@ async def _detect_plates_one(
105
105
  for (_cid, conf, box), result in zip(raw, ocr_results, strict=False):
106
106
  if result is None or not result.text:
107
107
  continue
108
+ # box conf = "this looks like a plate", ocr conf = "the text is legible";
109
+ # combine so illegible reads rank low for the downstream vote
108
110
  detections.append(
109
111
  {
110
112
  "label": "vehicle",
111
113
  "attribute": "license_plate",
112
- "confidence": conf,
114
+ "confidence": float(conf) * float(result.confidence),
113
115
  "plateText": result.text,
114
116
  "box": normalize_box(box, width, height),
115
117
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: camera-ui-ml
3
- Version: 1.2.3
3
+ Version: 1.2.4
4
4
  Summary: Shared ML inference framework for camera.ui detection plugins (onnx, openvino, coreml, ncnn)
5
5
  Author-email: seydx <hi@seydx.dev>
6
6
  Maintainer-email: seydx <hi@seydx.dev>
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "camera-ui-ml"
7
- version = "1.2.3"
7
+ version = "1.2.4"
8
8
  description = "Shared ML inference framework for camera.ui detection plugins (onnx, openvino, coreml, ncnn)"
9
9
  keywords = ["camera.ui", "python", "ml", "inference", "detection"]
10
10
  readme = "README.md"
File without changes
File without changes
File without changes