@ericblade/quagga2 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +213 -0
- package/LICENSE +21 -21
- package/README.md +842 -842
- package/dist/quagga.js +97 -97
- package/lib/quagga.js +97 -97
- package/package.json +183 -183
- package/tsconfig.json +37 -37
- package/type-definitions/quagga.d.ts +969 -969
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
|
|
2
|
+
# Changelog
|
|
3
|
+
|
|
4
|
+
- Future changelogs will be posted to the github [releases page](https://github.com/ericblade/quagga2/releases)
|
|
5
|
+
|
|
6
|
+
### 2019-08-13
|
|
7
|
+
- Forked to @ericblade/quagga2
|
|
8
|
+
- Significantly decrease npm package size by not adding files that were not needed
|
|
9
|
+
- Clarify iOS support in documentation
|
|
10
|
+
- Updated typescript typings
|
|
11
|
+
- drawRect accepts style.lineWidth
|
|
12
|
+
|
|
13
|
+
### 2017-06-07
|
|
14
|
+
- Improvements
|
|
15
|
+
- added `muted` and `playsinline` to `<video/>` to make it work for Safari 11
|
|
16
|
+
Beta (even iOS)
|
|
17
|
+
- Fixes
|
|
18
|
+
- Fixed [example/live_w_locator.js](https://github.com/serratus/quaggaJS/blob/master/example/live_w_locator.js)
|
|
19
|
+
|
|
20
|
+
### 2017-06-06
|
|
21
|
+
- Features
|
|
22
|
+
- Support for Standard 2of5 barcodes (See
|
|
23
|
+
[\#194](https://github.com/serratus/quaggaJS/issues/194))
|
|
24
|
+
- Support for Code 93 barcodes (See
|
|
25
|
+
[\#194](https://github.com/serratus/quaggaJS/issues/195))
|
|
26
|
+
- Exposing `Quagga.CameraAccess.getActiveTrack()` to get access to the
|
|
27
|
+
currently used `MediaStreamTrack`
|
|
28
|
+
- Example can be viewed here: [example/live_w_locator.js](https://github.com/serratus/quaggaJS/blob/master/example/live_w_locator.js) and a [demo](https://serratus.github.io/quaggaJS/examples/live_w_locator.html)
|
|
29
|
+
|
|
30
|
+
Take a look at the release-notes (
|
|
31
|
+
[0.12.0](https://github.com/serratus/quaggaJS/releases/tag/v0.12.0))
|
|
32
|
+
|
|
33
|
+
### 2017-01-08
|
|
34
|
+
- Improvements
|
|
35
|
+
- Exposing `CameraAccess` module to get access to methods like
|
|
36
|
+
`enumerateVideoDevices` and `getActiveStreamLabel`
|
|
37
|
+
(see `example/live_w_locator`)
|
|
38
|
+
- Update to webpack 2.2 (API is still unstable)
|
|
39
|
+
|
|
40
|
+
### 2016-10-03
|
|
41
|
+
- Fixes
|
|
42
|
+
- Fixed `facingMode` issue with Chrome >= 53 (see [#128](https://github.com/serratus/quaggaJS/issues/128))
|
|
43
|
+
|
|
44
|
+
### 2016-08-15
|
|
45
|
+
- Features
|
|
46
|
+
- Proper handling of EXIF orientation when using `Quagga.decodeSingle`
|
|
47
|
+
(see [#121](https://github.com/serratus/quaggaJS/issues/121))
|
|
48
|
+
|
|
49
|
+
### 2016-04-24
|
|
50
|
+
- Features
|
|
51
|
+
- EAN-13 extended codes can now be decoded (See
|
|
52
|
+
[\#71](https://github.com/serratus/quaggaJS/issues/71))
|
|
53
|
+
|
|
54
|
+
Take a look at the release-notes (
|
|
55
|
+
[0.11.0](https://github.com/serratus/quaggaJS/releases/tag/v0.11.0))
|
|
56
|
+
|
|
57
|
+
### 2016-04-19
|
|
58
|
+
- Improvements
|
|
59
|
+
- Reducing false-positives for Code 128 barcodes (
|
|
60
|
+
addresses [\#104](https://github.com/serratus/quaggaJS/issues/104))
|
|
61
|
+
|
|
62
|
+
### 2016-03-31
|
|
63
|
+
Take a look at the release-notes (
|
|
64
|
+
[0.10.0](https://github.com/serratus/quaggaJS/releases/tag/v0.10.0))
|
|
65
|
+
|
|
66
|
+
### 2016-02-18
|
|
67
|
+
|
|
68
|
+
- Internal Changes
|
|
69
|
+
- Restructuring into meaningful folders
|
|
70
|
+
- Removing debug-code in production build
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
### 2016-02-15
|
|
74
|
+
Take a look at the release-notes (
|
|
75
|
+
[0.9.0](https://github.com/serratus/quaggaJS/releases/tag/v0.9.0))
|
|
76
|
+
|
|
77
|
+
### 2015-11-22
|
|
78
|
+
|
|
79
|
+
- Fixes
|
|
80
|
+
- Fixed inconsistencies for Code 128 decoding (See
|
|
81
|
+
[\#76](https://github.com/serratus/quaggaJS/issues/76))
|
|
82
|
+
|
|
83
|
+
### 2015-11-15
|
|
84
|
+
|
|
85
|
+
- Fixes
|
|
86
|
+
- Fixed inconsistency in Code 39 decoding
|
|
87
|
+
- added inline-source-map to quagga.js file
|
|
88
|
+
|
|
89
|
+
### 2015-10-13
|
|
90
|
+
Take a look at the release-notes ([0.8.0]
|
|
91
|
+
(https://github.com/serratus/quaggaJS/releases/tag/v0.8.0))
|
|
92
|
+
|
|
93
|
+
- Improvements
|
|
94
|
+
- Replaced RequireJS with webpack
|
|
95
|
+
|
|
96
|
+
### 2015-09-15
|
|
97
|
+
Take a look at the release-notes ([0.7.0]
|
|
98
|
+
(https://github.com/serratus/quaggaJS/releases/tag/v0.7.0))
|
|
99
|
+
|
|
100
|
+
- Features
|
|
101
|
+
- Added basic support for running QuaggaJS inside __node__ (see [example]
|
|
102
|
+
(#node-example))
|
|
103
|
+
|
|
104
|
+
### 2015-08-29
|
|
105
|
+
- Improvements
|
|
106
|
+
- Added support for Internet Explorer (only Edge+ supports `getUserMedia`)
|
|
107
|
+
|
|
108
|
+
### 2015-08-13
|
|
109
|
+
- Improvements
|
|
110
|
+
- Added `offProcessed` and `offDetected` methods for detaching event-
|
|
111
|
+
listeners from the event-queue.
|
|
112
|
+
|
|
113
|
+
### 2015-07-29
|
|
114
|
+
- Features
|
|
115
|
+
- Added basic support for [ITF][i2of5_wiki] barcodes (`i2of5_reader`)
|
|
116
|
+
|
|
117
|
+
### 2015-07-08
|
|
118
|
+
- Improvements
|
|
119
|
+
- Parameter tweaking to reduce false-positives significantly (for the
|
|
120
|
+
entire EAN and UPC family)
|
|
121
|
+
- Fixing bug in parity check for UPC-E codes
|
|
122
|
+
- Fixing bug in alignment for EAN-8 codes
|
|
123
|
+
|
|
124
|
+
### 2015-07-06
|
|
125
|
+
- Improvements
|
|
126
|
+
- Added `err` parameter to [Quagga.init()](#quaggainit) callback
|
|
127
|
+
function
|
|
128
|
+
|
|
129
|
+
### 2015-06-21
|
|
130
|
+
- Features
|
|
131
|
+
- Added ``singleChannel`` configuration to ``inputStream`` (in [config]
|
|
132
|
+
(#configobject))
|
|
133
|
+
- Added ``ResultCollector`` functionality (see [ResultCollector]
|
|
134
|
+
(#resultcollector))
|
|
135
|
+
|
|
136
|
+
### 2015-06-13
|
|
137
|
+
- Improvements
|
|
138
|
+
- Added ``format`` property to ``codeResult`` (in [result](#resultobject))
|
|
139
|
+
|
|
140
|
+
### 2015-06-13
|
|
141
|
+
- Improvements
|
|
142
|
+
- Added fixes for ``Code39Reader`` (trailing whitespace was missing)
|
|
143
|
+
|
|
144
|
+
### 2015-06-09
|
|
145
|
+
- Features
|
|
146
|
+
- Introduced the ``area`` property
|
|
147
|
+
- Ability to define a rectangle where localization/decoding should be applied
|
|
148
|
+
|
|
149
|
+
### 2015-05-20
|
|
150
|
+
- Improvements
|
|
151
|
+
- Making EAN and UPC readers even more restrictive
|
|
152
|
+
- Added example using requirejs
|
|
153
|
+
|
|
154
|
+
### 2015-05-18
|
|
155
|
+
- Improvements
|
|
156
|
+
- Making EAN and UPC readers more restrictive
|
|
157
|
+
- Added integration-tests for all barcode-readers
|
|
158
|
+
|
|
159
|
+
### 2015-05-09
|
|
160
|
+
- Improvements
|
|
161
|
+
- Odd image dimensions no longer cause problems
|
|
162
|
+
|
|
163
|
+
### 2015-04-30
|
|
164
|
+
- Features
|
|
165
|
+
- Added support for [UPC-A and UPC-E][upc_wiki] barcodes
|
|
166
|
+
- Added support for [EAN-8][ean_8_wiki] barcodes
|
|
167
|
+
- Improvements
|
|
168
|
+
- Added extended configuration to the live-video example
|
|
169
|
+
- Releasing resources when calling ``Quagga.stop()``
|
|
170
|
+
|
|
171
|
+
### 2015-04-25
|
|
172
|
+
- Improvements
|
|
173
|
+
- Added extended configuration to the file-input example
|
|
174
|
+
- Configurable ``patchSize`` for better adjustment to small/medium/large
|
|
175
|
+
barcodes
|
|
176
|
+
|
|
177
|
+
### 2015-04-16
|
|
178
|
+
- Features
|
|
179
|
+
- Added support for [Codabar][codabar_wiki] barcodes
|
|
180
|
+
|
|
181
|
+
### 2015-03-16
|
|
182
|
+
- Improvements
|
|
183
|
+
- now includes minified version (23.3KB gzipped)
|
|
184
|
+
- No need for configuration of script-name any more
|
|
185
|
+
|
|
186
|
+
### 2015-03-12
|
|
187
|
+
- Improvements
|
|
188
|
+
- removed dependency on async.js
|
|
189
|
+
|
|
190
|
+
### 2015-03-04
|
|
191
|
+
- Features
|
|
192
|
+
- Added support for [Code 39][code39_wiki] barcodes
|
|
193
|
+
|
|
194
|
+
### 2015-01-21
|
|
195
|
+
- Features
|
|
196
|
+
- Added support for web-worker (using 4 workers as default, can be changed
|
|
197
|
+
through `config.numOfWorkers`)
|
|
198
|
+
- Due to the way how web-workers are created, the name of the script file
|
|
199
|
+
(`config.scriptName`) should be kept in sync with your actual filename
|
|
200
|
+
- Removed canvas-overlay for decoding (boxes & scanline) which can now be
|
|
201
|
+
easily implemented using the existing API (see example)
|
|
202
|
+
- API Changes
|
|
203
|
+
In the course of implementing web-workers some breaking changes were
|
|
204
|
+
introduced to the API.
|
|
205
|
+
- The `Quagga.init` function no longer receives the callback as part of the
|
|
206
|
+
config but rather as a second argument: `Quagga.init(config, cb)`
|
|
207
|
+
- The callback to `Quagga.onDetected` now receives an object containing
|
|
208
|
+
much more information in addition to the decoded code.(see
|
|
209
|
+
[data](#resultobject))
|
|
210
|
+
- Added `Quagga.onProcessed(callback)` which provides a way to get information
|
|
211
|
+
for each image processed. The callback receives the same `data` object as
|
|
212
|
+
`Quagga.onDetected` does. Depending on the success of the process the `data`
|
|
213
|
+
object might not contain any `resultCode` and/or `box` properties.
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2014 Christoph Oberhofer, (c) 2019 Eric Blade and all other contributors
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2014 Christoph Oberhofer, (c) 2019 Eric Blade and all other contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|