CVMD
One unified inference interface for deployment-ready vision models.
Why CVMD
Use one consistent inference interface across multiple vision model families, without dragging training code into deployment.
- One API for multiple model families: run YOLO and DETR-style models with the same
model(image)workflow. - TorchScript-first deployment: load export-ready weights directly and keep inference environments lean.
- Easy to adopt, easy to scale: start from simple single-image inference, then extend to sliding-window or Ray-based distributed pipelines.
Installation
pip install cvmd
Quick Start
import imageio.v3 as iio
from cvmd import build
model = build("yolov11det", weights="yolo11l.torchscript", device="cuda")
model.load_model()
image = iio.imread("image.jpg")
results = model(image)
# results: [x1, y1, x2, y2, confidence, class]
Supported Models
| Model Series | Task | Registered Names |
|---|---|---|
| YOLOv12 | Detection / Segmentation | yolov12det, yolov12seg |
| YOLOv11 | Detection / Segmentation | yolov11det, yolov11seg |
| YOLOv8 | Detection / Segmentation | yolov8det, yolov8seg |
| YOLOv5 | Detection / Segmentation | yolov5det, yolov5seg |
| DETR | Detection | detrdet |
| RF-DETR | Detection | rfdetrdet |
| Deformable DETR | Detection | deformabledetrdet |
Core API
build(model_name_or_cls, **kwargs): build a model instance by name or class.list_models(): list registered model names.register_model(*names): register a custom model class.
Detection models return:
# np.ndarray, shape=(N, 6)
# [x1, y1, x2, y2, confidence, class]
Segmentation models return:
# (detections, masks)
# detections: np.ndarray, shape=(N, 6)
# masks: np.ndarray, shape=(N, H, W)
More Docs
Development
git clone <this repository>
cd cvmd
uv sync --dev
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cvmd-0.1.3.tar.gz
(32.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
cvmd-0.1.3-py3-none-any.whl
(30.6 kB
view details)
File details
Details for the file cvmd-0.1.3.tar.gz.
File metadata
- Download URL: cvmd-0.1.3.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
453e222adf3550845f6a91fb8a885a6f2932b663aa358f4d9146f6d51fdfbe2d
|
|
| MD5 |
58b555b3d857210dc019ae6a4c64f123
|
|
| BLAKE2b-256 |
83a9edbed1e2d7f809582d80aa1ca82ec021cfa0e591d6f7e2bf68553b5b2ae5
|
File details
Details for the file cvmd-0.1.3-py3-none-any.whl.
File metadata
- Download URL: cvmd-0.1.3-py3-none-any.whl
- Upload date:
- Size: 30.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd28385255afbea40eaac101584e177f53bd61b2bb6cc74383ed9455e4b9ac13
|
|
| MD5 |
09ff678268f76184f8bbb90d715c4cb3
|
|
| BLAKE2b-256 |
58e808b0ad48a94e07d6419d0e94e4b7819cd8eaed6d7442119a55a566283af3
|