Show image from web cam in qt desiner
I need to show a video camera image from a webcam in qt desiner. I'm new in qt, so I thought to use a mdiArea but I don't know if it's correct and how show the video.
Can anyone help me?
A good start would be to have a look at the Multimedia module's examples, particularly the Camera Example:
See if you can make it work with a webcam of yours. Then, it is probably possible to embed the viewer widget in an MDI window if you want to display additional windows.
Another way I did it was to use an external imaging library such as OpenCV. It's possible to transfer the image data from a cv::Mat object to a QImage and then displaying it in a QLabel.