Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. OpenCV VideoCapture isOpened() returns false on Android
Forum Updated to NodeBB v4.3 + New Features

OpenCV VideoCapture isOpened() returns false on Android

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 3 Posters 5.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    GGILOYAN
    wrote on last edited by
    #1

    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");
    }
    @

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      This is an OpenCV question, you should ask it directly on the OpenCV forum/mailing list

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • G Offline
        G Offline
        GGILOYAN
        wrote on last edited by
        #3

        ok. thank you!

        1 Reply Last reply
        0
        • mrdebugM Offline
          mrdebugM Offline
          mrdebug
          wrote on last edited by
          #4

          Try this:
          @ CvCapture *Capture= NULL;
          Capture= cvCreateCameraCapture(Index);
          if (!Capture) qDebug() << "cvCreateCameraCapture Error!";
          else {
          @

          What do you doing exactly?

          Need programmers to hire?
          www.labcsp.com
          www.denisgottardello.it
          GMT+1
          Skype: mrdebug

          1 Reply Last reply
          0
          • G Offline
            G Offline
            GGILOYAN
            wrote on last edited by
            #5

            Thank you
            I whant to capture video and image and send to email

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved