PDA

View Full Version : display camera capture on label->setpixmap



mdaud
14th June 2013, 16:21
Im looking for a small example on opencv camera capture that displays on a pixmap of a label with timer.
there are some code but what Im looking for as small as possible.
can any one help?

saman_artorious
15th June 2013, 10:55
Im looking for a small example on opencv camera capture that displays on a pixmap of a label with timer.
there are some code but what Im looking for as small as possible.
can any one help?

Well, your question if about OpenCV not Qt relevant. Anyway, you can use Qt relevant libraries for video capture and not OpenCV.
Moreover, if you are simply trying to connect to a camera via LAN, you may also use QWebView Qt widget (Though using Pixmap may result in a better quality capture I guess.)

mdaud
17th June 2013, 09:49
can you provide code ?

KIBSOFT
21st June 2013, 21:50
You can do that with the Qt Media Encoding Library - http://www.qtcentre.org/threads/55086-Qt-Media-Encoding-Library-1-0-alpha1-available!