phonegap / phonegap-plugin-barcodescanner

cross-platform BarcodeScanner for Cordova / PhoneGap
MIT License
1.27k stars 1.41k forks source link

Speed and efficiency #416

Open AlDrag opened 7 years ago

AlDrag commented 7 years ago

Is there a way we can increase the speed of scanning for this plugin, or are we really limited by the Cameras and their firmware in their phones? For example, Android phones seem to focus in intervals to try catch focus of the QR Code etc. Are there some clever things we can such as trying to read a QR Code/Barcode when blurry and sharpen it to get enough detail to recognize it? All in real time?

Also how old is the Zxing library we are using? Is it worth updating it?

SirusDoma commented 7 years ago

Scan took 8s or so, this is considered very slow in my opinion. Imagine the users have to scan tons of products with such speed.

It shame ZBar has impressive speed and faster than this plugin. I would prefer to use this plugin instead if only it's faster since the options and result callbacks are neat.

But speed comes to first priority, so i had to choose ZBar until this issue solved.

paradox37 commented 7 years ago

For me, scanning speed is random, sometimes it takes forever, sometimes it's done in second.

It seems to me that text and graphic near bar code is interfering with scanning.

Also, returned value is sometimes inaccurate. In my case I'm scanning ITF code, and value should always be 16 numbers, but sometimes the length is shorter.

For comparison, I used app Barcode Scanners from Google Play and it's always fast and accurate.

irperera commented 7 years ago

any update on this?

john-doherty commented 6 years ago

It really is slow, are there any quick fixes/work arounds other than using another plugin?

chris087 commented 6 years ago

Same problem here, slow on Android, fast on iOS.. working with this on Android is not done for now...