QCamera
-
Hello every one,
I'm trying to implement the code from Qt example to mine - https://doc.qt.io/qt-5.10/qtmultimedia-multimediawidgets-camera-example.html. Can someone help me with an example, how can I, switch between captured images? -
@CptN3m0 you may want to take a look at these other examples:
- QML Camera with preview
- QML + OpenCV camera which has a (for me, bad called) "preview" page where the recently captured picture is shown
I guess that using example #1 as the foundation, you might easily implement the "review" feature you're looking for using the approach of example #2 but without messing up with OpenCV (I guess there's no need for that library in your case)
-
@CptN3m0, in that example
Camera::processCapturedImage
takes the most recently captured image and uses it for the pixmap of a QLabel. The main viewing area is a stacked widget that switches between this preview QLabel and the live view. Perhaps you could add a third stacked widget that contains a grid of QLabels containing thumbnail images of the all previous images. -
@CptN3m0 so it looks like your issue is solved, right? If so, please don't forget to mark your post as such. Thanks.