Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

openCV VideoCapture isOpened() returns false on Android

Hi everyone Please help

I whant to record video using openCV on Android device, but always VideoCapture isOpened returns false

VideoCapture cap(0); //VideoCapture cap(CV_CAP_ANDROID_BACK);

if(!cap.isOpened()) { QMessageBox::information(this, tr("error"), "error on open"); } else { QMessageBox::information(this, tr("success"), "is opened"); }

click to hide/show revision 2
retagged

updated 2014-03-22 15:09:44 -0600

berak gravatar image

openCV VideoCapture isOpened() returns false on Android

Hi everyone Please help

I whant to record video using openCV on Android device, but always VideoCapture isOpened returns false

VideoCapture cap(0); //VideoCapture cap(CV_CAP_ANDROID_BACK);

if(!cap.isOpened()) { QMessageBox::information(this, tr("error"), "error on open"); } else { QMessageBox::information(this, tr("success"), "is opened"); }