Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Videocapture not work in Opencv 3.0.0 for android

Hello everyone, I am really a freshman in this area. I try to use the Videocapture Class in Opencv 3.0.0., but it doesn't work. The following is my code. image description
After running on my smart phone, the log prints "123" but no "456". It seems that opening video file failed but the video file do exist. It's so strange!! Please help me if you think of any possibility. Thanks a lot :)

My Android studio version is 1.3. My Opencv4Android SDK version is 3.0.0. And the following is my log.

image description

Videocapture not work in Opencv 3.0.0 for android

Hello everyone, I am really a freshman in this area. I try to use the Videocapture Class in Opencv 3.0.0., but it doesn't work. The following is my code. image description
After running on my smart phone, the log prints "123" but no "456". It seems that opening video file failed but the video file do exist. It's so strange!! Please help me if you think of any possibility. Thanks a lot :)

My Android studio version is 1.3. My Opencv4Android SDK version is 3.0.0. And the following is my log.

image description