VideoCapture(String filename) missing constructor in OpenCV Java

asked 2013-11-22 17:04:57 -0600

may gravatar image

updated 2013-11-23 02:44:15 -0600

berak gravatar image

Hi guys. I am trying to use OpenCV for an object detection project. I need to be able to read video from a file as well as being able to use a live video stream from a camera. Unfortunately, the VideoCapture class does not support the constructor VideoCapture(String filename) - only VideoCapture(int device). I saw this post: http://answers.opencv.org/question/10274/desktop-java-how-to-load-video-file/, which answered the question...but I don't know how to recompile the files I have edited? I have downloaded OpenCV 2.4.7.

edit retag flag offensive close merge delete

Comments

oh that should be fixed in 2.4.7 without any recompile or such, at least for desktop-java.

for android, that's a total different situation ( missing ffmpeg backend )

please clarify, what you're talking about.

berak gravatar imageberak ( 2013-11-23 02:42:49 -0600 )edit