Ask Your Question
0

pre-recorded video in OpenCV

asked 2014-10-21 22:33:44 -0600

Is there a way to import a pre-recorded video to use with openCV-python instead of live video feed from camera?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-10-22 02:00:40 -0600

edit flag offensive delete link more

Comments

Thanks. I noticed there are two versions of the constructors for both images and video.. for video there is cv2.VideoCapture(filename) and cv.CaptureFromFile(filename).. for image there is cv2.imread(filename[, flags]) and cv.LoadImageM(filename, iscolor=CV_LOAD_IMAGE_COLOR). What exactly is the difference?

jgrabow1 gravatar imagejgrabow1 ( 2014-10-22 17:49:06 -0600 )edit

Question Tools

Stats

Asked: 2014-10-21 22:33:44 -0600

Seen: 811 times

Last updated: Oct 22 '14