qzxing | QML wrapper library for the ZXing library | Barcode Processing library
kandi X-RAY | qzxing Summary
kandi X-RAY | qzxing Summary
Qt/QML wrapper library for the ZXing barcode image processing library.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of qzxing
qzxing Key Features
qzxing Examples and Code Snippets
Community Discussions
Trending Discussions on qzxing
QUESTION
I have a QML-based app where I need to capture images from the camera in order to do QR-code recognition/decoding (using qzxing).
Following the example for the CameraCapture QML class, I can capture images, however they will always be saved to a local file. I don't want to save to a file since I don't want to stress the underlying storage (flash memory, sd card) in order to do QR code recognition. Thus, I want to grab camera images in-memory. Googling for this turned out it seems to be impossible with QML-only.
So I was looking for a C++ based solution, however I cannot seem to come up with a working solution.
Currently I have code which tries to capture the image in C++ while providing a visible preview of the camera for the user in QML:
QML
...ANSWER
Answered 2021-Jun-28 at 07:57You can access the QCamera
using the mediaObject
property of the Camera
item and then use the QCameraImageCapture
where the QCameraImageCapture::CaptureToBuffer
mode is set and use the imageCaptured
signal to get the QImage
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install qzxing
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page