edi9999 / jsqrcode

[deprecated] Lazarsoft's jsqrcode as a node module, object oriented, and with tests
Apache License 2.0
278 stars 63 forks source link

Error locator degree does not match number of roots #57

Open MHK107 opened 5 years ago

MHK107 commented 5 years ago

I get this error code Error locator degree does not match number of roots Everytime I try to add to process QR code on my node server script however when I scan those QR codes on phone they return me expected results

qvs5010 commented 5 years ago

Hi i keep getting the same, but when i run the same image through zbar it can read it.

i removed the qr reader and now execute zbarimg

https://centos.pkgs.org/6/epel-x86_64/zbar-0.10-25.el6.x86_64.rpm.html

var exec = require('child_process').exec;

var newn = "/var/qr/file_422.jpg"
var Vcommand = "zbarimg "+newn;
exec(Vcommand, function(error, stdout, stderr){
         console.log(stdout);
}
artentica commented 5 years ago

@qvs5010 i have the same issue if you have found a solution (with the npm package) it would be great, i'll keep searching. Thank you

arealmaas commented 3 years ago

Any update on the issue? :)

gansky-alexander commented 3 years ago

Hello, guys ! does anyone has a solution ?

avalkowsky commented 3 years ago

I can only suggest moving to https://github.com/cozmo/jsQR. If required read an image using tool like jimp (https://www.npmjs.com/package/jimp) so you have an Uint8ClampedArray of RGBA pixel values.

It just handles all QR codes I previously had problems with perfectly.