Machine Vision Toolbox for Python - data package
|
|
This package includes the images and data files used for examples with the Machine Vision Toolbox for Python (MVTB-P). |
Rationale
The data files are provided as a separate package to work around disk space limitations on PyPI. Including these data with the MVTB code adds nearly 200MB to every release, which will blow the PyPI limit quite quickly.
Since the data doesn't change very much, it's mostly images models and a few data files, it makes sense for it to be a standalone package.
Package contents
| Folder | Purpose |
|---|---|
| data | miscellaneous spectral data |
| images | example images, videos |
Accessing data within the package
The Toolbox function mvtb_path_to_datafile(file) will return an absolute
Path object that contains the path to file which is given relative to the
root of the data package:
mvtb_path_to_datafile("images/monalisa.png")
which can also be used like os.path.join as
mvtb_path_to_datafile("images", "monalisa.png")
Image files are assumed to be in the images folder of the data package, and this will be searched
by the image loading function
iread("myimage.png") # read ./myimage.png
iread("monalisa.png") # read from data package
or class method
Image.Read("myimage.png") # read ./myimage.png
Image.Read("monalisa.png") # read from data package
A matching local file takes precendence over a file in the data package.
Installing the package
You don't need to explicitly install this package, it happens automatically when you when you install MVTB-P
pip install machinevisiontoolbox-python
since it is a dependency.
Install really big image files
There are two very large zip files containing image sequences which are used in
Sec. 14.8.3 Visual Odometry, each is 116M and exceeds the total PyPI quota. They
are not included in the mvtbdata package, but you can download them into your
local mvtbdata package by
python -m mvtbdata.mvtb_load_image_data
You only need to do this once.
Metadata
Release files for mvtb-data 1.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mvtb_data-1.6.1-py3-none-any.whl | Python 3 | none | any | Details for mvtb_data-1.6.1-py3-none-any.whl |
Release files / mvtb_data-1.6.1-py3-none-any.whl
| Download URL | mvtb_data-1.6.1-py3-none-any.whl |
|---|---|
| Size | 130.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ca9c30e100fa272421068a167ea6529085ff8f4afdca72e5fad681c52cabdbf
|
|
BLAKE2b-256 checksum How to use checksums |
d2afb17e99d5e8ac9d416a60ca0929a554c4ef461dc3a34c6beb3789307c1685
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.8
|
Security for mvtb-data 1.6.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.