serivesmejia / EOCV-Sim

FTC Library EasyOpenCV simulator for testing vision pipelines in a computer
MIT License
12 stars 8 forks source link

Feature Request: Add Video Source Support #18

Closed JIceberg closed 3 years ago

JIceberg commented 3 years ago

OpenCV has support for video sources. I know for a fact that in python you can do

import cv2
vid = cv2.VideoCapture('video.mp4')
success, img = vid.read()
while success:
  success, img = vid.read()

and it works just fine with img representing each image frame. I'm sure Java has something similar, if not C++. Would be great if I can bypass the camera and simply use an mp4 or other video format to test pipelines (super useful for remote stuff).

serivesmejia commented 3 years ago

Added in v2.1.0