Skip to main content

Visym Python Tools for Visual Dataset Transformation

Project description

[![PyPI version](https://badge.fury.io/py/vipy.svg)](https://badge.fury.io/py/vipy)

VIPY

VIPY: Visym Python Tools for Visual Dataset Transformation URL: https://github.com/visym/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 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)

[![VIPY MEVA dataset visualization](http://i3.ytimg.com/vi/_jixHQr5dK4/maxresdefault.jpg)](https://youtu.be/_jixHQr5dK4)

Requirements

python 3.* ffmpeg (required for videos)

Installation

`python pip install vipy `

This package has the following required dependencies which are installed by default `python pip install numpy matplotlib dill pillow ffmpeg-python `

The following packages are optional. You will receive a friendly warning if attempting to use these dependencies: `python pip install scipy opencv-python torch ipython scikit-learn boto3 youtube-dl dask distributed h5py nltk bs4 dropbox pyyaml pytest `

Quickstart

`python import vipy vipy.image.owl().mindim(512).show(figure=1).fliplr().show(figure=2).minsquare().show(figure=3) `

The [demos](https://github.com/visym/vipy/tree/master/demo) 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

vipy-1.8.21.tar.gz (154.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: vipy-1.8.21.tar.gz
  • Upload date:
  • Size: 154.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for vipy-1.8.21.tar.gz
Algorithm Hash digest
SHA256 08cb577cff0a7c24d287bac4f48c2ca3117ae46359ed22091ff1ae6da1d2a8a4
MD5 508ecc0fd4bf76b4f4396aa2897071e4
BLAKE2b-256 5f114ab9a2de179c34308e64b8b118a1a60b64bb5387400fd22808e8a7ebfbfd

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