edi9999 / jsqrcode

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

Couldn't find enough finder patterns #15

Closed lukeIam closed 8 years ago

lukeIam commented 8 years ago

I'm always getting Couldn't find enough finder patterns:0 patterns found or Couldn't find enough finder patterns:1 patterns found sometimes even Couldn't find enough finder patterns:2 patterns found

Video resolution is 800x450 and the imagedata looks good: qr Captured with: previewCtx.putImageData(ctx.getImageData(0, 0, width, height), 0, 0);

If I load the image data from a img element with a barcode image it is working -> so my general setup with the web worker is working.

Any suggestions?

edi9999 commented 8 years ago

Hi, I don't really know why this is happening (I just ported the library to nodejs and added some test cases). But if you find out, it would be cool to add a regression test and the code to fix it (I would of course accept the pull request)

edi9999 commented 8 years ago

Closed via https://github.com/edi9999/jsqrcode/pull/21