Computer Vision Models Deployment
Project description
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
Project details
Release history Release notifications | RSS feed
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.2.tar.gz
(31.9 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.2-py3-none-any.whl
(30.1 kB
view details)
File details
Details for the file cvmd-0.1.2.tar.gz.
File metadata
- Download URL: cvmd-0.1.2.tar.gz
- Upload date:
- Size: 31.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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 |
550b78b91e58707559a95dd6b435af1005330c46b09fd2ec7e4c4bf4b633272d
|
|
| MD5 |
f15a7efe37c4ec1464751304ed091ca6
|
|
| BLAKE2b-256 |
e78e7259cdef4d96dddfbbd094cce2db442d5c12d602dd5ba32c9003e3839a16
|
File details
Details for the file cvmd-0.1.2-py3-none-any.whl.
File metadata
- Download URL: cvmd-0.1.2-py3-none-any.whl
- Upload date:
- Size: 30.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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 |
2bcee4e4e83a6aca53ccfad9fb0ca634505cd318b16f0cdfaec6fad8d675905a
|
|
| MD5 |
b3ee0d9c037cca1281d81acaa02c1506
|
|
| BLAKE2b-256 |
a64b519a148fd8be52bcb66caf6d5735c0ff3c92117eaa1fd909c153c84f3622
|