dusty-nv / jetson-utils

C++/CUDA/Python multimedia utilities for NVIDIA Jetson

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to obtain any frame of a video using videosource

lofyol opened this issue · comments

such as OpenCV's VideoCaputure, which sets the position of the frame to be obtained

you might use videoSource.Capture and VideoCapture.read

>>> from jetson_utils import videoSource
>>> help(videoSource.Capture)

>>> from cv2 import VideoCapture
>>> help(VideoCapture.read)