read a saved video file in android studio using opencv4android

asked 2015-08-30 10:03:54 -0500

sobika gravatar image

updated 2015-08-31 10:43:12 -0500

Hi, Iam doing a project which finds the features in the video of a room. Currently Iam doing hough transform and edge detection. Iam able to do this in real time using opencv4android in android studio. I have to run around carrying my laptop for that. So for testing purpose I need to use a video which is saved in my system or in the emulator by giving the path of the video file. Is that possible?

edit retag flag offensive close merge delete


sorry, atm. reading or writing video files is not possible (with pure opencv methods) on android.

(the ffmpeg/gstreamer/libav backends used on desktop are not available on android)

maybe you can use an image sequence (single png's or such) for now ?

berak gravatar imageberak ( 2015-09-01 00:09:23 -0500 )edit