Video Input
PyTouch provides a video handler class which loads videos obtained from sensors.
It allows for some basic functionality such as:
- Resizing video
- Video information (frame position, and total frame count)
- Stepping through the video by consecutive frames
- Skipping frames or extract specific frames
#
UsageAn example is shown below on the usage of VideoHandler
Consecutive frames from the video can be obtained by,
The frame information can be queried and frame position set,
The video can be resized to return frames with a custom (Width, Height)
,