Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Problem with get QImage from camera view
never_ever last edited by
I need to get view from camera. First I get view by using openCV, now I wanted to change it and use Qt to get image. I tried to use QCamera, but I don't know how to get QImage.
I tried to
set capture destination to buffer, but it is not supported
isSupported = imageCapture[index]->isCaptureDestinationSupported(QCameraImageCapture::CaptureToBuffer); //false
use QVideoProbe::setSource(...) but it also not supported.
Any other ways to get QImage from camera view? Thanks.
Since OpenCV already does what you need, why not just convert the image from OpenCV to QImage ?