Results 1 to 4 of 4

Thread: opencv2.2 webcam

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2011
    Posts
    24
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: opencv2.2 webcam

    Someone can tell me how can I configure qtcreator with DirectShow?
    I need to create a class that captures webcam and places it in a QLABEL, does anyone know how can I do this?

  2. #2
    Join Date
    Aug 2011
    Location
    Seoul, Korea
    Posts
    46
    Thanks
    9
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: opencv2.2 webcam

    Quote Originally Posted by afro_cv View Post
    Someone can tell me how can I configure qtcreator with DirectShow?
    I need to create a class that captures webcam and places it in a QLABEL, does anyone know how can I do this?
    http://doc.trolltech.com/4.7/widgets-imageviewer.html
    The above shows how to make a QLabel as an image but it seems this is not the first think you need to implement. I guess as long as you can convert your image captured from webcam into some sort of Qt compatible format then you can do anything you want really. The following one was quite helpful for me. That's showing how to convert cv::Mat to OpenCV.

    http://opencv-users.1802565.n2.nabbl...td5121181.html

    It may also be helpful if you try to ask on OpenCV user group.

    Regards,
    Dong Back Kim

  3. #3
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: opencv2.2 webcam

    I need to create a class that captures webcam and places it in a QLABEL, does anyone know how can I do this?
    http://www.qtcentre.org/threads/4305...simple-example

Similar Threads

  1. Record from webcam
    By skizzik in forum General Programming
    Replies: 11
    Last Post: 1st August 2011, 10:00
  2. OpenCV2.1 and Qt 4.7.4 integration
    By nackasha in forum Newbie
    Replies: 1
    Last Post: 20th July 2011, 23:31
  3. How can I access webcam in Qt?
    By tofighi in forum Newbie
    Replies: 3
    Last Post: 17th July 2011, 20:55
  4. Replies: 0
    Last Post: 12th March 2011, 19:46
  5. use Webcam
    By sabeesh in forum Qt Programming
    Replies: 1
    Last Post: 21st August 2007, 07:52

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
  •  
Qt is a trademark of The Qt Company.