Results 1 to 4 of 4

Thread: How to display message in textEdit when OpenCV detects face

  1. #1
    Join Date
    Dec 2014
    Posts
    2
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default How to display message in textEdit when OpenCV detects face

    Hi all,

    Wonder if anyone have experience with qt-opencv programming. What i am trying to achieve is to create a qt widget that can display video from the webcam and a face detection in QLabel. Currently i have no issue with this, the problem which i faced is that after opencv detects a face, i want to show a message in the text box telling the user that a face was detected.

    If anyone got any recommendation that will be greatly appreciated.

    Thank you all

  2. #2
    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 message in textEdit when OpenCV detects face

    Detect face, call QLabel::setText()?

  3. #3
    Join Date
    Dec 2014
    Posts
    2
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: How to display message in textEdit when OpenCV detects face

    Hi ChrisW67,

    Thanks for the suggestion, i am looking at showing a message like this "<current date time> Face detected" in qtextedit. my biggest headache is getting the current date and time into qtextedit and i managed to show Qstring message in 'for' loop so that sort of solve my problem on message.

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to display message in textEdit when OpenCV detects face


Similar Threads

  1. efficient way to display opencv image into Qt
    By gerardpuducul in forum Qt Programming
    Replies: 5
    Last Post: 25th January 2016, 09:59
  2. Replies: 8
    Last Post: 18th March 2011, 12:27
  3. How to display Systemtray message ?
    By sudhansu in forum Qt Programming
    Replies: 3
    Last Post: 13th March 2010, 10:43
  4. how to display dialog message
    By Petr_Kropotkin in forum Newbie
    Replies: 1
    Last Post: 12th January 2010, 15:16
  5. Replies: 10
    Last Post: 21st July 2009, 15:22

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.