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

[scanImage Method] Can't scan with Diamond,Heart and Dot patterns QR Codes. #254

Open
Janith-Umeda opened this issue May 15, 2024 · 1 comment

Comments

@Janith-Umeda
Copy link

Janith-Umeda commented May 15, 2024

Hello, I am tring to create qr scannability measure feature using this library.(programatically scanning the generated qr code).
Unforunatley I have faced this problem. Unable to detect these types of qr codes to this library.

This is what i had tried to scan.

diamond-pattern diamond-pattern diamond-pattern

This is the code that i used to scan the qr code as a file

const tempQrFile = dataURLtoFile('data:image/svg+xml;base64,...');
QrScanner.scanImage(tempQrFile,{ returnDetailedScanResult: true })
.then((res)=>{
     //can scan
}).catch((err)=>{
     //can't scan
});

Is there any way to fix this problem ?

@xin2014
Copy link

xin2014 commented Jul 29, 2024

+1, I have the same problem.
It is very strange that using the camera to scan these QR codes works, but when using a very clear image, it cannot be recognized.

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