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.
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/PKG-INFO +1 -1
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/pipelines.py +3 -1
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml.egg-info/PKG-INFO +1 -1
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/pyproject.toml +1 -1
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/LICENSE.md +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/README.md +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/__init__.py +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/backend.py +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/detectors/__init__.py +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/detectors/base.py +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/detectors/box.py +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/detectors/clip.py +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/detectors/embedder.py +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/detectors/ocr.py +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/geometry.py +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/model_manager.py +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/parsing.py +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/pipeline.py +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/preprocess.py +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml/py.typed +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml.egg-info/SOURCES.txt +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml.egg-info/dependency_links.txt +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml.egg-info/requires.txt +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/camera_ui_ml.egg-info/top_level.txt +0 -0
- {camera_ui_ml-1.2.3 → camera_ui_ml-1.2.4}/setup.cfg +0 -0
|
@@ -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
|
}
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "camera-ui-ml"
|
|
7
|
-
version = "1.2.
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|