Visym Python Tools for Visual Dataset Transformation
Project description
VIPY
VIPY: Python Tools for Visual Dataset Transformation
Documentation: https://visym.github.io/vipy
VIPY is a python package for representation, transformation and visualization of annotated videos and images. Annotations are the ground truth provided by labelers (e.g. object bounding boxes, face identities, temporal activity clips), suitable for training computer vision systems. VIPY provides tools to easily edit videos and images so that the annotations are transformed along with the pixels. This enables a clean interface for transforming complex datasets for input to your computer vision training and testing pipeline.
VIPY provides:
- Representation of videos with labeled activities that can be resized, clipped, rotated, scaled, padded and cropped
- Representation of images with object bounding boxes that can be manipulated as easily as editing an image
- Clean visualization of annotated images and videos
- Lazy loading of images and videos suitable for distributed procesing (e.g. dask, spark)
- Straightforward integration into machine learning toolchains (e.g. torch, numpy)
- Fluent interface for chaining operations on videos and images
- Dataset download, unpack and import (e.g. Charades, AVA, ActivityNet, Kinetics, Moments in Time)
- Video and image web search tools with URL downloading and caching
- Minimum dependencies for easy installation (e.g. AWS Lambda, Flask)
Requirements
python 3.6+
ffmpeg (required for videos)
numpy, matplotlib, dill, pillow, ffmpeg-python
Installation
pip install vipy
Optional dependencies are installable as a complete package:
pip install pip --upgrade
pip install 'vipy[all]'
You will receive a friendly warning if attempting to use an optional dependency before installation.
Quickstart
import vipy
vipy.image.owl().mindim(512).zeropad(padwidth=150, padheight=0).show()
The demos provide useful notebook tutorials to help you get started.
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
Built Distribution
File details
Details for the file vipy-1.12.8.tar.gz
.
File metadata
- Download URL: vipy-1.12.8.tar.gz
- Upload date:
- Size: 251.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bef6eccab5a910f366ed9e90881703699146aa88788f1bd0757b4eb40c2c11e |
|
MD5 | ee260b72b012fa87c8269d6cfb5804dc |
|
BLAKE2b-256 | a0d566bedf8d0d0ef951f17d72fc77177e77adec52ea3356d391e16892ece3d5 |
File details
Details for the file vipy-1.12.8-py3-none-any.whl
.
File metadata
- Download URL: vipy-1.12.8-py3-none-any.whl
- Upload date:
- Size: 268.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c8680ccd313e7acbeaff1d83855afe60be8027e43b30e059c30b3e0d0af9743 |
|
MD5 | f2c23935749eee47e05692bb35e649c2 |
|
BLAKE2b-256 | 8802f3571bdd0b85ad36217b4fd66a481048b1090f9623b826e6c982e324143a |