mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-13 05:31:37 +08:00
Updated Readme to 0.9.0
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
quaggaJS
|
quaggaJS
|
||||||
========
|
========
|
||||||
|
|
||||||
- [Changelog](#changelog) (2015-11-22)
|
- [Changelog](#changelog) (2016-02-15)
|
||||||
- [Installing](#installing)
|
- [Installing](#installing)
|
||||||
- [Getting Started](#gettingstarted)
|
- [Getting Started](#gettingstarted)
|
||||||
- [API](#api)
|
- [API](#api)
|
||||||
@@ -120,8 +120,10 @@ may be the `inputStream.type` is set to `LiveStream`, but the browser does
|
|||||||
not support this API, or simply if the user denies the permission to use the
|
not support this API, or simply if the user denies the permission to use the
|
||||||
camera.
|
camera.
|
||||||
|
|
||||||
If you do not specify a target, QuaggaJS would look for an element that matches the CSS selector `#interactive.viewport` (for backwards compatibility).
|
If you do not specify a target, QuaggaJS would look for an element that matches
|
||||||
`target` can be a string (CSS selector matching one of your DOM node) or a DOM node.
|
the CSS selector `#interactive.viewport` (for backwards compatibility).
|
||||||
|
`target` can be a string (CSS selector matching one of your DOM node) or a DOM
|
||||||
|
node.
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
Quagga.init({
|
Quagga.init({
|
||||||
@@ -386,9 +388,9 @@ the readers are given, since some might return a value even though it is not
|
|||||||
the correct type (EAN-13 vs. UPC-A).
|
the correct type (EAN-13 vs. UPC-A).
|
||||||
|
|
||||||
The `multiple` property tells the decoder if it should continue decoding after
|
The `multiple` property tells the decoder if it should continue decoding after
|
||||||
finding a valid barcode. If multiple is set to `true`, the results will be
|
finding a valid barcode. If multiple is set to `true`, the results will be
|
||||||
returned as an array of result objects. Each object in the array will have a
|
returned as an array of result objects. Each object in the array will have a
|
||||||
`box`, and may have a `codeResult` depending on the success of decoding the
|
`box`, and may have a `codeResult` depending on the success of decoding the
|
||||||
individual box.
|
individual box.
|
||||||
|
|
||||||
The remaining properties `drawBoundingBox`, `showFrequency`, `drawScanline` and
|
The remaining properties `drawBoundingBox`, `showFrequency`, `drawScanline` and
|
||||||
@@ -543,6 +545,10 @@ on the ``singleChannel`` flag in the configuration when using ``decodeSingle``.
|
|||||||
|
|
||||||
## <a name="changelog">Changelog</a>
|
## <a name="changelog">Changelog</a>
|
||||||
|
|
||||||
|
### 2016-02-15
|
||||||
|
Take a look at the release-notes ([0.9.0]
|
||||||
|
(https://github.com/serratus/quaggaJS/releases/tag/v0.9.0))
|
||||||
|
|
||||||
### 2015-11-22
|
### 2015-11-22
|
||||||
|
|
||||||
- Fixes
|
- Fixes
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "quagga",
|
"name": "quagga",
|
||||||
"version": "0.8.3",
|
"version": "0.9.0",
|
||||||
"description": "An advanced barcode-scanner written in JavaScript",
|
"description": "An advanced barcode-scanner written in JavaScript",
|
||||||
"main": "lib/quagga.js",
|
"main": "lib/quagga.js",
|
||||||
"browser": "dist/quagga.min.js",
|
"browser": "dist/quagga.min.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user