Skip to content
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

DIY Freenove Wrover QR read error #176

Open
joksa opened this issue Nov 1, 2024 · 4 comments
Open

DIY Freenove Wrover QR read error #176

joksa opened this issue Nov 1, 2024 · 4 comments

Comments

@joksa
Copy link

joksa commented Nov 1, 2024

I built Jade on Freenove ESP32 Wrover
The camera module is OV3660 (need to manually check in the menuconfig)

On QR scanning I got an error in Log console
clogX?I (1519171) ./main/qrscan.c: 29: Detected 1 QR codes in image.
clogX9W (1519171) ./main/qrscan.c: 42: QUIRC error ECC failure

Install is from the latest source.
I appreciate any help on this matter.

@JamieDriver
Copy link
Collaborator

JamieDriver commented Nov 1, 2024

That error is quite common.
The camera is taking several frames per second and passing them to the QR-reader. There are many frames which are initially recognised as containing a QR code, but then full analysis errors - maybe because of motion blur, focus issues, QR too close or too far away, or maybe because the display was part-way through updating the QR shown (animated/multi-frame QR); any of which can result in this error.
Usually just holding the camera steady, or slowly moving the QR closer or further will mean that subsequent captures will correctly read the QR code.

I don't know about that board or camera specifically - but you might need to experiment to work out the ideal size/position of the QR being scanned.

@JamieDriver
Copy link
Collaborator

Did you manage to get QR scanning to work ?

@joksa
Copy link
Author

joksa commented Dec 10, 2024

Unfortunately no. I hope that CryptoGuide will also test it when he receives the same hardware, until then the hardware is on hold.

@JamieDriver
Copy link
Collaborator

Yes, there are plenty of camera modules around - we have concentrated on GC0308 as that's the one we found to be the most reliable of the ones we tried, and the one we chose to use in our production Jade units.
It may be that some tweaks can be made for other cameras to adjust contrast, brightness/exposure etc.
See also #190

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants