Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to capture an image with OpenCv?
Forum Updated to NodeBB v4.3 + New Features

How to capture an image with OpenCv?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 8.9k 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.
  • L Offline
    L Offline
    Leon
    wrote on last edited by
    #1

    I want to capture an image from my webcamera using opencv. I read this http://www.cs.iit.edu/~agam/cs512/lect-n…000000000000000 but CvCapture* capture = cvCaptureFromCAM(0);
    gives me this error..

    @HIGHGUI ERROR: V4L2: Pixel format of incoming image is unsupported by OpenCV
    Unable to stop the stream.: Device or resource busy
    Unable to stop the stream.: Bad file descriptor
    HIGHGUI ERROR: V4L: Pixel format of incoming image is unsupported by OpenCV@

    To Download the project of OpenCV --> http://dl.dropbox.com/u/11379868/QtOpenCV.zip
    What i want to do is when you press the capture button to take a picture and to have the option to save it..
    On Ubuntu 10.10

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dialingo
      wrote on last edited by
      #2

      This looks like an OpenCv only question, though your app is written using Qt. You may want to ask again in OpenCv forum?

      1 Reply Last reply
      0
      • L Offline
        L Offline
        Leon
        wrote on last edited by
        #3

        Do you have any link for the opencv forum? I found this : "OpenCv Users":http://opencv-users.1802565.n2.nabble.com/

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vishwajeet
          wrote on last edited by
          #4

          have a look at this http://stackoverflow.com/questions/851679/saving-an-image-in-opencv

          Born To Code !!!

          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