A C++ and NumPy-compatible Python API for acquiring, processing and encoding video streams in real time
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 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.
- Capturing video streams using frame-grabber hardware, the following cards are supported:
Capturing standard-compliant network video streams
Reading (decoding) video files
Video data as NumPy arrays to facilitate processing with NumPy-compatible Python libraries
Building GIFT-Grab from source (C++ and Python)
Installing GIFT-Grab using pip (only Python)
- API documentation
- Python API documentation: please use the C++ API documentation
Most Python API elements are equivalent to their C++ counterparts.
Differences are noted in the C++ docstrings (e.g. data() method of VideoFrame).
Support and contributing
Please see the contribution guide for bug reports, feature requests, and if you would like to contribute to GIFT-Grab.
Licensing and copyright
Copyright (c) 2015-7, University College London
GIFT-Grab is available as free open-source software under the BSD-3-Clause licence. Please see the LICENSE file for details.
Other licences may apply for the GIFT-Grab dependencies. Please see the dependency installation guidelines for the implications of using them with regards to licensing.
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.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.