Skip to main content

A C++ and NumPy-compatible Python API for acquiring, processing and encoding video streams in real time

Project description

IMPORTANT INSTALLATION NOTE

pip install gift-grab currently works only with --install-option’s. Please see this guideline on the GIFT-Grab repository.

GIFT-Grab

GIFT-Grab is an open-source C++ and Python API for acquiring, processing and encoding video streams in real time.

GIFT-Grab supports several frame-grabber cards, standard-compliant network streams and video files.

The Python API is compatible with NumPy and SciPy. Please note that currently only Python 2 is supported.

Features

  • Capturing video streams using frame-grabber hardware, the following cards are supported:
  • Capturing standard-compliant network video streams

  • Reading (decoding) video files

  • Writing (encoding) video files (including real-time encoding), the following formats are supported:
  • Video data as NumPy arrays to facilitate processing with NumPy-compatible Python libraries

Getting started

Citing GIFT-Grab

If you use GIFT-Grab in your work, please cite Shakir et al. (2017):

Shakir DI, García-Peraza-Herrera LC, Daga P, Doel T, Clarkson MJ, Ourselin S, and Vercauteren T. GIFT-Grab: Real-time C++ and Python multi-channel video capture, processing and encoding API. Journal of Open Research Software. 2017;5(1):27. DOI: http://doi.org/10.5334/jors.169

BibTeX entry:

@article{giftgrab17,
  author = {Dzhoshkun Ismail Shakir and Luis Carlos Garc\'{i}a-Peraza-Herrera and Pankaj Daga and Tom Doel and Matthew J. Clarkson and S\'{e}bastien Ourselin and Tom Vercauteren},
  title = {{GIFT-Grab: Real-time C++ and Python multi-channel video capture, processing and encoding API}},
  journal = {{Journal of Open Research Software}},
  year = {2017},
  number = {1},
  pages = {27},
  month = {10},
  day = {9},
  volume = {5},
  url = {http://doi.org/10.5334/jors.169},
  doi = {http://doi.org/10.5334/jors.169},
}

Support and contributing

Please see the contribution guide for bug reports, feature requests, and if you would like to contribute to GIFT-Grab.

Acknowledgements

GIFT-Grab was developed as part of the GIFT-Surg project at the Translational Imaging Group in the Centre for Medical Image Computing at University College London (UCL).

This work was supported through an Innovative Engineering for Health award by the Wellcome Trust [WT101957], the Engineering and Physical Sciences Research Council [NS/A000027/1] and a National Institute for Health Research Biomedical Research Centre UCLH / UCL High Impact Initiative.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

GIFT-Grab-1708.post1.tar.gz (110.4 kB view details)

Uploaded Source

File details

Details for the file GIFT-Grab-1708.post1.tar.gz.

File metadata

File hashes

Hashes for GIFT-Grab-1708.post1.tar.gz
Algorithm Hash digest
SHA256 9cc02764072fed9bda52edbac31543fcd7f2be2acc5fc8608af340bf42cb3836
MD5 06a5273194b7bce5022ecf13025fabb2
BLAKE2b-256 2ac839718be585b17349155b541b872ffa7114b0742c91ed05400bb591b51839

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