Results 1 to 3 of 3

Thread: synchronise QLabel display and webcam capture

  1. #1
    Join Date
    Feb 2009
    Posts
    10
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default synchronise QLabel display and webcam capture

    Hi all,

    Sorry for this newbee question but i 'don't find answer on doc or forum for this.....


    In an application with Qt4.43 on window, i would like to display alternate QPicture in a QLabel and capture picture of this screen (projected with display projector) with webcam.

    I have made all the sys and i have a little probleme of synchronisation with capture and display in the QLabel : How to be certain that the QLabel display the new QPicture before i capture img with webcam ????

    I would like to find some signal or listener in QLabel to wait for end of updating process.....but don't find any one....

    So, my capture whase some time more rapidly process than the refresh in QLabel....

    Did someone know some way to track the enf of QLabel/Qpicture display process, before i can grabe the frame with webcam.

    Did i use an other tread...but how to wait end of refresh process to proced cap ..????


    thank's for your help.

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

    WhltePanda (27th February 2011)

  3. #2
    Join Date
    Jan 2007
    Posts
    92
    Thanks
    14
    Thanked 1 Time in 1 Post

    Default Re: synchronise QLabel display and webcam capture

    You can have timer. Use timeout() signal when picture will be set. U can check whether picture has been set on the QLabel by calling picture() m/d of QLabel.

  4. #3
    Join Date
    Feb 2009
    Posts
    10
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Re: synchronise QLabel display and webcam capture

    Thank's for your answer.

    I'm lookink for sort of listener about QPicture...but don't find any.....what do you means about pictur() m/d ...??? sorry it's certanely a dummy ask....

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.