Results 1 to 5 of 5

Thread: Control WebCam with Qt

  1. #1
    Join Date
    Sep 2008
    Posts
    60
    Thanks
    20
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question Control WebCam with Qt

    Hi everybody,

    I would like to know if someone knows the way to get the data and elaborate the image from a pc webcam, connected via USB, for Linux, Windows, and Mac, using with Qt.
    If you have documentations or other interestings remarks about this kind of project please post it.

    Thank you in advance, for all informations,
    Cheers,

  2. #2
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Posts
    136
    Thanks
    9
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Control WebCam with Qt

    For my Qt app I use the cross platform OpenCV library to get and process images from my webcam.

  3. The following user says thank you to rbp for this useful post:

    lixo1 (22nd May 2009)

  4. #3
    Join Date
    Sep 2008
    Posts
    60
    Thanks
    20
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Control WebCam with Qt

    OpenCV seems a very good library, my project is to create an artificial "eye", that is a webcam mouted on a electric engine.
    Thank you very much,
    Cheers,

  5. #4
    Join Date
    May 2008
    Location
    Melbourne, Australia
    Posts
    136
    Thanks
    9
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Control WebCam with Qt

    just a warning - OpenCV has restrictions on the resolution of the camera feed. You can read more about it here: http://stackoverflow.com/questions/1...tion-in-opencv

    Unfortunately I haven't come across a high quality cross platform webcam library.
    So if your eye will rely on a high resolution camera feed, then you might need to use platform dependent libraries, such as DirectShow and Video4Linux.

  6. #5
    Join Date
    Sep 2008
    Posts
    60
    Thanks
    20
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Control WebCam with Qt

    Thank you for the warning, I tried it with my webcam, and to begin OpenCV is good for me.

Similar Threads

  1. Replies: 3
    Last Post: 7th October 2015, 19:43
  2. ¿How to stop thread that is capturing from a webcam?
    By JoseTlaseca in forum Qt Programming
    Replies: 8
    Last Post: 28th August 2008, 04:45
  3. Qthreads and webcam app
    By Schizo in forum Qt Programming
    Replies: 1
    Last Post: 21st June 2007, 09:17
  4. QTextEdit control
    By vijay anandh in forum Qt Programming
    Replies: 2
    Last Post: 31st May 2006, 13:14
  5. Replies: 6
    Last Post: 3rd February 2006, 09:48

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.