schmich / instascan

HTML5 QR code scanner using your webcam
https://schmich.github.io/instascan/
MIT License
2.97k stars 867 forks source link

Uncaught RangeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': Out of memory at ImageData creation #278

Open ken-frog opened 3 years ago

ken-frog commented 3 years ago

Uncaught RangeError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': Out of memory at ImageData creation

This error causes application crash. This error is continuously emitted when no qrcodes are scanned for a couple of minutes causing the app to crash.

Is there a way to resolve this?