OpenCV VideoCapture isOpened() returns false on Android
-
Hi everyone
Please helpI 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");
}
@ -
Hi,
This is an OpenCV question, you should ask it directly on the OpenCV forum/mailing list
-
ok. thank you!
-
Try this:
@ CvCapture *Capture= NULL;
Capture= cvCreateCameraCapture(Index);
if (!Capture) qDebug() << "cvCreateCameraCapture Error!";
else {
@What do you doing exactly?
-
Thank you
I whant to capture video and image and send to email