Results 1 to 8 of 8

Thread: How to Display Multi Webcam with QT + OpenCV + Eclipse?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to Display Multi Webcam with QT + OpenCV + Eclipse?

    This question still has nothing to do with Qt

    You never initialise capture1 with a valid, non-NULL pointer so you are probably going to crash the program at line 34 when you first use that pointer. If you had not commented out the checks between line 22 and 30 you would have known this.

    You only create a single display window called "result", and then try to output two video streams to windows called "Left" and "Right" (which don't exist), and finally clean up a two windows called "result" (which exist) and "result1" (which does not).

  2. The following user says thank you to ChrisW67 for this useful post:

    thaihoangluu (28th December 2011)

Similar Threads

  1. OpenCV Record Webcam And Audio ???
    By Thành Viên Mới in forum Qt Programming
    Replies: 0
    Last Post: 25th December 2011, 04:18
  2. Display webcam stream with phonon and the qt
    By nyquist82 in forum Qt Programming
    Replies: 1
    Last Post: 26th October 2011, 08:03
  3. Replies: 4
    Last Post: 22nd July 2011, 06:40
  4. Replies: 8
    Last Post: 18th March 2011, 11:27
  5. Replies: 2
    Last Post: 15th November 2010, 17:44

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.