Results 1 to 20 of 34

Thread: Qt + OpenCV, simple example

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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 Qt + OpenCV, simple example

    Hi,

    today I've found my old project I wrote some time ago. This is simple application that uses OpenCV to capture images from camera or video, optionally process them and displays in QLabel. I've decided to share it with community, made the code more self-explanatory, added some comments, especially explaining BGR24 IplImage to QImage conversion stuff (it can be done easier, but I think its better this way for "educational" purposes).
    This app does not use separate threads for capturing or processing images, I think everything is as simple as possible.
    I've seen many posts about using basic OpenCV with Qt, so maybe this will be useful for some "newbies".

    I hope this helps someone.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by stampede; 11th July 2011 at 23:58.

  2. The following 5 users say thank you to stampede for this useful post:

    andre_teprom (26th July 2013), harley (1st September 2011), ikmqt (28th August 2012), Ksenia (15th October 2013), mvuori (12th July 2011)

Similar Threads

  1. OpenCV + QT4
    By thereisnoknife in forum Qt Programming
    Replies: 6
    Last Post: 8th March 2013, 05:19
  2. opencv-qt-mac
    By ireneluis in forum Qt Programming
    Replies: 0
    Last Post: 16th March 2010, 15:24
  3. Qt and OpenCV
    By malorie in forum Newbie
    Replies: 2
    Last Post: 7th March 2010, 14:57
  4. OpenCv & Qt4
    By switch in forum Qt Programming
    Replies: 0
    Last Post: 4th August 2009, 15:12
  5. JAI vs. OpenCV vs. ITK
    By tpieciak in forum General Programming
    Replies: 0
    Last Post: 8th July 2009, 13:45

Tags for this Thread

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.