-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to detect QR codes via QZXingFilter on Ubuntu Touch #203
Comments
Hello @patrickjane I have just merged #201 so i would suggest you pull the latest code and also add the following definitions to your cmake: set(QZXING_USE_DECODER_QR_CODE "true") Moreover, seeing the message |
@ftylitak I have analyzed the issue further, see here and here. However I am unable to get it to work with my limited OpenGL/video/image processing experience. The solution mentioned by dobey works, instead of using a video filter, it is possible to work with snapshot timers and manual image recognition (as done here). I don't think its a camera permission issue. |
I decided to continue working on this issue on the middleware-side of Ubuntu Touch, @patrickjane was correct in the assumption that GL needed to be used. The current state is here: https://gitlab.com/ubports/development/core/qtubuntu-camera/-/commit/4a551326f56e0b0d3debd3a1fe73d9c703dde42d Now, I verified the image being mapped correctly by modifying QZXing to write a QImage right after memcpy'ing the contents into its own frame. The remaining problem is the following output, with one application at least:
I made the app in question use QZXing 3.3, so I wonder what might be missing here. |
#221 has been merged. In case anything else comes up, feel free to open a new issue. |
Hi,
I am currently porting my (now working) SFOS app to Ubuntu Touch, and thus I also had to include qzxing in my project. I did it via cmake, like so:
In QML I'm doing this:
However detecting QR codes does not work. Instead I get the logs flooded with the following, as soon as the camera is activated (no matter where it is pointed to):
How can I make this work? QT version should be 5.12.
The text was updated successfully, but these errors were encountered: