Mobilint Vision Python
Run pre-trained Mobilint Vision models from Python. mblt-vision-python provides
model configuration, artifact loading, preprocessing, inference integration, and
typed postprocessing results for image classification, depth estimation, face and
object detection, OBB, instance and semantic segmentation,
and pose estimation.
Version 0.0.0 is the initial standalone release.
Installation
pip install mblt-vision-python
MXQ inference requires a supported Mobilint NPU environment. Model artifacts are
downloaded from the Mobilint Hugging Face organization when no local model_path
is supplied. For ONNX execution, install one of the optional extras:
pip install "mblt-vision-python[onnxruntime]"
# Or, on supported systems:
pip install "mblt-vision-python[onnxruntime-gpu]"
Quick start
Each model includes its matching preprocess and postprocess behavior:
from mblt_vision import ResNet50
model = ResNet50()
x = model.preprocess("image.jpg")
result = model.postprocess(model(x))
For configurable model selection and local MXQ or ONNX artifacts, use
MBLT_Engine:
from mblt_vision import MBLT_Engine
model = MBLT_Engine(model_cls="resnet50", model_type="DEFAULT")
try:
result = model.postprocess(model(model.preprocess("image.jpg")))
finally:
model.dispose()
Discover supported tasks and models with list_tasks() and list_models(). New
code should use the task subpackages (for example,
mblt_vision.object_detection) or MBLT_Engine. Top-level model imports such as
from mblt_vision import ResNet50 remain supported for convenience.
obb is the canonical oriented-bounding-box task name.
Model Zoo migration
Vision is now maintained in this package. mblt-model-zoo retains
mblt_model_zoo.vision as a compatibility facade for existing applications; new
projects should import from mblt_vision directly. Its mblt-model-zoo predict,
val, and compile commands also delegate to this package.
Command line
The standalone package provides the mblt-vision command with predict, val,
and compile subcommands:
mblt-vision predict --source image.jpg --model resnet50
predict is the single inference command for classification, depth estimation,
object and face detection, instance and semantic segmentation, OBB, and pose
estimation. The selected model determines its task and processing pipeline.
By default it downloads the model artifact and saves a plotted result under
runs/vision/predict/. Use --output to choose the result-image path,
--topk for classification labels, and --conf-thres/--iou-thres for
detection-style tasks. --framework onnx selects ONNX Runtime inference;
--target-device and --core-mode select the MXQ board/runtime mode.
mblt-vision predict --source image.jpg --model yolo11m --conf-thres 0.4 --output result.jpg
mblt-vision predict --source image.jpg --model yolo11m-pose --target-device regulus-ra --core-mode single
The corresponding mblt-model-zoo commands use the same standalone handlers for
backward compatibility.
Documentation and tests
See the Vision API guide for supported model families, model details, artifact selection, and output taxonomy behavior. See the compilation guide for calibration-data preparation and MXQ compilation. The test guide explains offline, Hugging Face, and NPU test runs.
Support and issues
For installation, model, or runtime support, visit the Mobilint forum. Report reproducible package issues in the mblt-vision-python issue tracker.
License
Distributed under the BSD 3-Clause License.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file mblt_vision_python-0.0.1.tar.gz.
File metadata
- Download URL: mblt_vision_python-0.0.1.tar.gz
- Upload date:
- Size: 259.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3da04ff3d8b7955edc1f7fd09a3b2f08f7bb7fb763289341ff80d8f0169822a5
|
|
| MD5 |
50593cb5b1150fdafba6bdc53df48e5c
|
|
| BLAKE2b-256 |
d0bd0907c0039cd810071860d628dfa2d0879554a8986dffbb804e2a0e44dc6e
|
Provenance
The following attestation bundles were made for mblt_vision_python-0.0.1.tar.gz:
Publisher:
publish.yml on mobilint/mblt-vision-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mblt_vision_python-0.0.1.tar.gz -
Subject digest:
3da04ff3d8b7955edc1f7fd09a3b2f08f7bb7fb763289341ff80d8f0169822a5 - Sigstore transparency entry: 2527197443
- Sigstore integration time:
-
Permalink:
mobilint/mblt-vision-python@1fea77866a34629d1c9bf3d3239fa709d4fbf3d9 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/mobilint
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1fea77866a34629d1c9bf3d3239fa709d4fbf3d9 -
Trigger Event:
release
-
Statement type:
File details
Details for the file mblt_vision_python-0.0.1-py3-none-any.whl.
File metadata
- Download URL: mblt_vision_python-0.0.1-py3-none-any.whl
- Upload date:
- Size: 354.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c43acaf7f6262550d4ac40a3029c501aa9ce67972d558308e0ffbde5b565e7b
|
|
| MD5 |
ba8ef93bbe0bdd23b2f8255789c545e9
|
|
| BLAKE2b-256 |
913a36629b511f74665b2bb3e3ea6d4ef55598ebdffe25b5c5465783a49a074b
|
Provenance
The following attestation bundles were made for mblt_vision_python-0.0.1-py3-none-any.whl:
Publisher:
publish.yml on mobilint/mblt-vision-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mblt_vision_python-0.0.1-py3-none-any.whl -
Subject digest:
3c43acaf7f6262550d4ac40a3029c501aa9ce67972d558308e0ffbde5b565e7b - Sigstore transparency entry: 2527198620
- Sigstore integration time:
-
Permalink:
mobilint/mblt-vision-python@1fea77866a34629d1c9bf3d3239fa709d4fbf3d9 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/mobilint
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1fea77866a34629d1c9bf3d3239fa709d4fbf3d9 -
Trigger Event:
release
-
Statement type: