vuba.Video
- class vuba.Video(footage)[source]
Wrapper around various image readers that provides a simple API to achieve the same functions regardless of format.
- Parameters
footage (str or
cv2.VideoCapture
or list.) – Full filename or VideoCapture object to a video (e.g. AVI or MP4), or a glob string or series of filenames to a series of individual images. Note that series of all individual filenames will be sorted prior to being read if a glob string is supplied.- Returns
video – Video handler for footage supplied.
- Return type
See also
Examples
For example usage of this handler please see example scripts located at
examples/reading
.Methods
__init__
(footage)close
()Close/teardown attached video handlers.
read
(*args, **kwargs)Read single or multiple frames from the provided footage.