Results 1 to 2 of 2

Thread: Program to turn-on my webcam

  1. #1
    Join Date
    Jul 2012
    Thanked 1 Time in 1 Post
    Qt products

    Default Program to turn-on my webcam

    Hi everyone, I want to write a program that is going to turn-on my webcam and then display whatever the webcam is pointing at on the app. But frankly, I have no idea where to start. But I am more interested in knowing how I can get a video recording as input from the webcam to one of the program functions, because I suppose that is what should happen. Any input will be greatly appreciated

  2. #2
    Join Date
    Sep 2009
    Wroclaw, Poland
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    MacOS X Unix/X11 Windows Android

    Default Re: Program to turn-on my webcam

    I guess you can start here: There is a camera capture app example in Qt installation (examples\multimediawidgets\camera);
    It should work ok for basic capture.
    You can always use OS-specific api, like direct show on windows or AVFoundation on mac. There are many examples on the web, just google for them.

Similar Threads

  1. Is it possible to turn off JIT in Qt5 Webkit?
    By pyl0420 in forum Qt Programming
    Replies: 0
    Last Post: 20th November 2013, 14:53
  2. Turn items and progress
    By giorgik in forum Qt Programming
    Replies: 1
    Last Post: 31st October 2012, 11:32
  3. How to turn on optimization in qt??
    By tonylin0826 in forum Newbie
    Replies: 5
    Last Post: 7th September 2012, 11:12
  4. How to turn off PC?
    By wydesenej in forum Qt Programming
    Replies: 1
    Last Post: 20th January 2009, 17:56
  5. Turn off computer
    By swiety in forum KDE Forum
    Replies: 1
    Last Post: 5th January 2008, 15:40


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.