Data files for the Machine Vision Toolbox for Python.
Project description
Machine Vision Toolbox for Python - data package
This package includes large data files associated 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 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 running
import mvtbdata.mvtb_load_image_data
from inside a Python session. You only need to do this once.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file mvtb_data-1.5-py3-none-any.whl
.
File metadata
- Download URL: mvtb_data-1.5-py3-none-any.whl
- Upload date:
- Size: 128.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/65.7.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a65d6569289b124b61a5f99e395bf080b035686f637740163b6f9608e7729fd7 |
|
MD5 | 51b22f0b90840cebf91862ea9732b0b5 |
|
BLAKE2b-256 | 783bbd59b9c5bc99b25e6f2ec4839944bd225c1818a2e8c557ba0fb5695dc201 |