schmich / instascan

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

Show scan is in process #50

Open ylecuyer opened 7 years ago

ylecuyer commented 7 years ago

Is there a way yo have a mark on the canvas to show the user a frame has been captured and an analyse is in progress?

Or better show like in a native app some dots over the recognized points ?

ylecuyer commented 7 years ago

ping @schmich

adriengibrat commented 7 years ago

It seems ZXing provides ResultPoints (I've read a stackOverflow about it), but i can't find any occurence in zxing.js, it seems the emscripten'd build of the C++ port of ZXing does not provide the same API...

Maybe someone with knowledge of the implementations listed in #34 could have better clue than me!

Edit: I've tested the js QR code decoder listed and quirc & jsQR demo are quite good! They shows the QR code detected on the canvas displaying the video preview.

quirc is realy better to recognize QR code with distortion due to rotation ;)