|
7 | 7 | - [Getting Started](#gettingstarted) |
8 | 8 | - [API](#api) |
9 | 9 | - [Configuration](#configobject) |
| 10 | +- [Tips & Tricks](#tipsandtricks) |
| 11 | +- [Sponsors](#sponsors) |
10 | 12 |
|
11 | 13 | ## What is QuaggaJS? |
12 | 14 |
|
@@ -589,6 +591,36 @@ Quagga.decodeSingle({ |
589 | 591 | }); |
590 | 592 | ``` |
591 | 593 |
|
| 594 | +## <a name="tipsandtricks">Tips & Tricks</a> |
| 595 | + |
| 596 | +A growing collection of tips & tricks to improve the various aspects of Quagga. |
| 597 | + |
| 598 | +### Barcodes too small? |
| 599 | + |
| 600 | +Barcodes too far away from the camera, or a lens too close to the object |
| 601 | +result in poor recognition rates and Quagga might respond with a lot of |
| 602 | +false-positives. |
| 603 | + |
| 604 | +Starting in Chrome 59 you can now make use of `capabilities` and directly |
| 605 | +control the zoom of the camera. Head over to the |
| 606 | +[web-cam demo](https://serratus.github.io/quaggaJS/examples/live_w_locator.html) |
| 607 | +and check out the __Zoom__ feature. |
| 608 | + |
| 609 | +You can read more about those `capabilities` in |
| 610 | +[Let's light a torch and explore MediaStreamTrack's capabilities](https://www.oberhofer.co/mediastreamtrack-and-its-capabilities) |
| 611 | + |
| 612 | +### Video too dark? |
| 613 | + |
| 614 | +Dark environments usually result in noisy images and therefore mess with the |
| 615 | +recognition logic. |
| 616 | + |
| 617 | +Since Chrome 59 you can turn on/off the __Torch__ of our device and vastly |
| 618 | +improve the quality of the images. Head over to the |
| 619 | +[web-cam demo](https://serratus.github.io/quaggaJS/examples/live_w_locator.html) |
| 620 | +and check out the __Torch__ feature. |
| 621 | + |
| 622 | +To find out more about this feature [read on](https://www.oberhofer.co/mediastreamtrack-and-its-capabilities). |
| 623 | + |
592 | 624 | ## Tests |
593 | 625 |
|
594 | 626 | Unit Tests can be run with [Karma][karmaUrl] and written using |
@@ -665,6 +697,10 @@ calling ``decodeSingle`` with the same configuration as used during recording |
665 | 697 | . In order to reproduce the exact same result, you have to make sure to turn |
666 | 698 | on the ``singleChannel`` flag in the configuration when using ``decodeSingle``. |
667 | 699 |
|
| 700 | +## <a name="sponsors">Sponsors</a> |
| 701 | + |
| 702 | +- [Maintenance Connection Canada (Asset Pro Solutions Inc.](http://maintenanceconnection.ca/) |
| 703 | + |
668 | 704 | ## <a name="changelog">Changelog</a> |
669 | 705 |
|
670 | 706 | ### 2017-06-06 |
|
0 commit comments