Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mvtb-data

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mvtb-data

Data files for the Machine Vision Toolbox for Python.

  • 1.5
  • Source
  • PyPI
  • Socket score

Maintainers
1

Machine Vision Toolbox for Python - data package

A Python Robotics Package PyPI version Anaconda version

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

FolderPurpose
datamiscellaneous spectral data
imagesexample 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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc