I am using Beaglebone Black Rev-C. My goal is to capture video and run object-detection. To make sure the video capture is proper, I am saving the frames as images and saving it