Unsolved Problem with get QImage from camera view
-
Hi,
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.
-
-
Hi,
Since OpenCV already does what you need, why not just convert the image from OpenCV to QImage ?