serratus / quaggaJS

An advanced barcode-scanner written in JavaScript
https://serratus.github.io/quaggaJS/
MIT License
5.02k stars 977 forks source link

Add the Horizonal Red line and Yellow dots during Scan #475

Open varunrkjain opened 2 years ago

varunrkjain commented 2 years ago

Hello,

Can anyone suggest how to get the redlines and yellow dots while scanning using the QuaggaJS. I mean is there any feature in this API to enable the redlines while scanning. Any help is much appreciated.

Thanks

ericblade commented 2 years ago

You can implement any visuals that you want using Quagga's callback input and the canvas.

You might look at the onProcessed block here https://github.com/serratus/quaggaJS/blob/master/example/live_w_locator.js