Skip to content

Commit

Permalink
Merge pull request #131 from ericblade/polyfill
Browse files Browse the repository at this point in the history
fix #130, Updating polyfills (only used in tests now?)
  • Loading branch information
ericblade authored Feb 6, 2020
2 parents c9923b3 + 5c62933 commit 9a4b77c
Show file tree
Hide file tree
Showing 4 changed files with 1,831 additions and 2,136 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"presets": [
["@babel/preset-env", { "useBuiltIns": "usage", "corejs": { "version": 3, "proposals": true } }],
["@babel/preset-env", { "useBuiltIns": "entry", "corejs": { "version": 3, "proposals": true } }],
"@babel/preset-typescript"
],
"plugins": [
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,14 @@ Quagga.decodeSingle({

A growing collection of tips & tricks to improve the various aspects of Quagga.

### Working with Cordova / PhoneGap?

If you're having issues getting a mobile device to run Quagga using Cordova, you might try the code
here: https://github.com/serratus/quaggaJS/issues/94#issuecomment-571478711
````let permissions = cordova.plugins.permissions; permissions.checkPermission(permissions.CAMERA,
(res) => { if (!res.hasPermission) { permissions.requestPermission(permissions.CAMERA, open());````
Thanks, @chrisrodriguezmbww !

### Barcodes too small?

Barcodes too far away from the camera, or a lens too close to the object
Expand All @@ -646,7 +654,7 @@ You can read more about those `capabilities` in
Dark environments usually result in noisy images and therefore mess with the
recognition logic.

Since Chrome 59 you can turn on/off the __Torch__ of our device and vastly
Since Chrome 59 you can turn on/off the __Torch__ of your device and vastly
improve the quality of the images. Head over to the
[web-cam demo](https://serratus.github.io/quaggaJS/examples/live_w_locator.html)
and check out the __Torch__ feature.
Expand Down
Loading

0 comments on commit 9a4b77c

Please sign in to comment.