Skip to main content

Visym Python Tools for Visual Dataset Transformation

Project description

PyPI version CI

VIPY

VIPY: Visym 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 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)

VIPY MEVA dataset visualization

Requirements

python 3.*
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

vipy-1.11.8.tar.gz (223.6 kB view details)

Uploaded Source

Built Distribution

vipy-1.11.8-py3-none-any.whl (241.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vipy-1.11.8.tar.gz
  • Upload date:
  • Size: 223.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6

File hashes

Hashes for vipy-1.11.8.tar.gz
Algorithm Hash digest
SHA256 1c92f4702a8cf29f87a45b5d012b170d2ed443c3a119b888c91b0fcdf23b0b8b
MD5 7437d0c5a00c8054e85d835f537d8d8b
BLAKE2b-256 e3822463bb57da7a061f478ddb8242182b74ae6a303d2313be3d7d9bd1083dbd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vipy-1.11.8-py3-none-any.whl
  • Upload date:
  • Size: 241.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.6

File hashes

Hashes for vipy-1.11.8-py3-none-any.whl
Algorithm Hash digest
SHA256 21b3b57a1a8784d6b6c11f42448b316b106e4d72fed267612d13090500221f23
MD5 f0b23490492863615f85f670be47077e
BLAKE2b-256 8989b935036f5a8e028970214033bf7905733105e7a038ec36761872b8053582

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