mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-12 21:21:42 +08:00
#49: configuration of i2of5 reader; still issues with high-density
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
<option value="upc">UPC</option>
|
||||
<option value="upc_e">UPC-E</option>
|
||||
<option value="codabar">Codabar</option>
|
||||
<option value="i2of5">I2of5</option>
|
||||
</select>
|
||||
</label>
|
||||
<label>
|
||||
|
||||
@@ -2,7 +2,7 @@ $(function() {
|
||||
var resultCollector = Quagga.ResultCollector.create({
|
||||
capture: true,
|
||||
capacity: 20,
|
||||
blacklist: [{code: "3574660239843", format: "ean_13"}],
|
||||
blacklist: [{code: "2167361334", format: "i2of5"}],
|
||||
filter: function(codeResult) {
|
||||
// only store results which match this constraint
|
||||
// e.g.: codeResult
|
||||
@@ -127,7 +127,7 @@ $(function() {
|
||||
},
|
||||
numOfWorkers: 4,
|
||||
decoder: {
|
||||
readers : ["code_128_reader"]
|
||||
readers : [ "code_128_reader"]
|
||||
},
|
||||
locate: true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user