Results 1 to 4 of 4

Thread: OpenCv + Qt

  1. #1
    Join Date
    Nov 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Question OpenCv + Qt

    Hello...


    How can I display a OpenCv Image(a IplImage frame from a webcam) like a subwindow of a QtMainWindow ???


    Thank's in advance...

  2. #2
    Join Date
    Jan 2006
    Location
    Sta. Eugènia de Berga (Vic - Barcelona - Spain)
    Posts
    869
    Thanks
    70
    Thanked 59 Times in 57 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: OpenCv + Qt

    Hi,

    You need to convert the OpenCV image to a QImage or a QPixmap.
    Òscar Llarch i Galán

  3. #3
    Join Date
    Nov 2008
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: OpenCv + Qt

    I am also looking for ways to pass webcam images to phonon and I found these which would help you:
    http://www.qtcentre.org/forum/f-qt-p...ion-11655.html
    http://www.qtcentre.org/forum/f-qt-p...ing-14006.html

    They give link to an application QtOpenCV, which shows a simple way to use opencv and qt together

  4. #4
    Join Date
    Nov 2008
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: OpenCv + Qt

    Thanks for help-me! It's works perfetly now...

    Best Regards...

Similar Threads

  1. OpenCV integration
    By sfabel in forum Qt Programming
    Replies: 47
    Last Post: 28th January 2013, 05:19
  2. Replies: 8
    Last Post: 18th March 2011, 11:27
  3. How to open two cameras with opencv?
    By alphaboy in forum General Programming
    Replies: 2
    Last Post: 21st December 2007, 10:58
  4. Help needed handling image data
    By toratora in forum General Programming
    Replies: 2
    Last Post: 11th May 2007, 09:24
  5. Using QDataStream
    By toratora in forum Qt Programming
    Replies: 1
    Last Post: 2nd May 2007, 15:35

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.