vuba.open_video

vuba.open_video(video)[source]

Convenience function for creating a Video instance.

Parameters

video (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.

Returns

  • video (Video) – Instance of Video.

  • release (bool) – True if footage was not an instance to Video, else False.