powered by
Given a video path, return a specific frame as an RGB image
get_frame_as_image(video_path, frame = 0)
rgb_frame: extracted frame as RGB image
path to video file
frame number to extract (default is 0)
if (FALSE) get_frame_as_image('/example/path/to/video.mp4', frame=213)
Run the code above in your browser using DataLab