Skip to main content

Python Tools for Visual Dataset Transformation

Project description

PyPI version CI Python 3.6+ License: MIT

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, cropped and resampled
  • 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 processing (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)
  • Minimum dependencies for easy installation (e.g. AWS Lambda, Flask)

VIPY MEVA dataset visualization

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 tutorials and demos provide useful examples 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

vipy-1.14.4.tar.gz (270.2 kB view details)

Uploaded Source

Built Distribution

vipy-1.14.4-py3-none-any.whl (291.1 kB view details)

Uploaded Python 3

File details

Details for the file vipy-1.14.4.tar.gz.

File metadata

  • Download URL: vipy-1.14.4.tar.gz
  • Upload date:
  • Size: 270.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for vipy-1.14.4.tar.gz
Algorithm Hash digest
SHA256 417455dfe13d76140ad61cc52dbd5e41a8807f9302e665b1da70559d7ab42c91
MD5 047d408663977704c8e616ebaab331bb
BLAKE2b-256 b6d0380f52b8ce9592c492a4be369ad25c0ce31d6de7e1ef3e0fe29ab70b3187

See more details on using hashes here.

File details

Details for the file vipy-1.14.4-py3-none-any.whl.

File metadata

  • Download URL: vipy-1.14.4-py3-none-any.whl
  • Upload date:
  • Size: 291.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for vipy-1.14.4-py3-none-any.whl
Algorithm Hash digest
SHA256 21cba76d6eb0db68d0e1a492950fb5bbc4c36d9fd1b426b9bdf6548eda0ccbbd
MD5 45dd0ded072d96d19981e2b680a30ef2
BLAKE2b-256 7399e5b280b45d405bc6e3f24415c881a84604e5a563a497fe82bb84e93daf90

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page