mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-13 05:31:37 +08:00
issue-43: updated readme to 0.6.7
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
quaggaJS
|
quaggaJS
|
||||||
========
|
========
|
||||||
|
|
||||||
- [Changelog](#changelog) (2015-05-20)
|
- [Changelog](#changelog) (2015-06-09)
|
||||||
|
|
||||||
## What is QuaggaJS?
|
## What is QuaggaJS?
|
||||||
|
|
||||||
@@ -217,6 +217,12 @@ The default `config` object is set as followed:
|
|||||||
width: 640,
|
width: 640,
|
||||||
height: 480,
|
height: 480,
|
||||||
facing: "environment"
|
facing: "environment"
|
||||||
|
},
|
||||||
|
area: { // defines rectangle of the detection/localization area
|
||||||
|
top: "0%", // top offset
|
||||||
|
right: "0%", // right offset
|
||||||
|
left: "0%", // left offset
|
||||||
|
bottom: "0%" // bottom offset
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
tracking: false,
|
tracking: false,
|
||||||
@@ -293,6 +299,11 @@ work.
|
|||||||
|
|
||||||
## <a name="changelog">Changelog</a>
|
## <a name="changelog">Changelog</a>
|
||||||
|
|
||||||
|
### 2015-06-09
|
||||||
|
- Features
|
||||||
|
- Introduced the ``area`` property
|
||||||
|
- Ability to define a rectangle where localization/decoding should be applied
|
||||||
|
|
||||||
### 2015-05-20
|
### 2015-05-20
|
||||||
- Improvements
|
- Improvements
|
||||||
- Making EAN and UPC readers even more restrictive
|
- Making EAN and UPC readers even more restrictive
|
||||||
|
|||||||
Vendored
+3
-2
@@ -5010,7 +5010,7 @@ define('cv_utils',['cluster', 'glMatrixAddon', "array_helper"], function(Cluster
|
|||||||
CVUtils._parseCSSDimensionValues = function(value) {
|
CVUtils._parseCSSDimensionValues = function(value) {
|
||||||
var dimension = {
|
var dimension = {
|
||||||
value: parseFloat(value),
|
value: parseFloat(value),
|
||||||
unit: value.indexOf("%") === value.length-1 ? "%" : "px"
|
unit: value.indexOf("%") === value.length-1 ? "%" : "%"
|
||||||
};
|
};
|
||||||
|
|
||||||
return dimension;
|
return dimension;
|
||||||
@@ -6574,7 +6574,8 @@ function(ImageWrapper, CVUtils, Rasterizer, Tracer, skeletonizer, ArrayHelper, I
|
|||||||
};
|
};
|
||||||
|
|
||||||
patchSize = CVUtils.calculatePatchSize(config.patchSize, size);
|
patchSize = CVUtils.calculatePatchSize(config.patchSize, size);
|
||||||
console.log("patchSize:", patchSize);
|
console.log("Patch-Size: " + JSON.stringify(patchSize));
|
||||||
|
|
||||||
inputStream.setWidth(Math.floor(Math.floor(size.x/patchSize.x)*(1/halfSample)*patchSize.x));
|
inputStream.setWidth(Math.floor(Math.floor(size.x/patchSize.x)*(1/halfSample)*patchSize.x));
|
||||||
inputStream.setHeight(Math.floor(Math.floor(size.y/patchSize.y)*(1/halfSample)*patchSize.y));
|
inputStream.setHeight(Math.floor(Math.floor(size.y/patchSize.y)*(1/halfSample)*patchSize.y));
|
||||||
|
|
||||||
|
|||||||
Vendored
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "quagga",
|
"name": "quagga",
|
||||||
"version": "0.6.6",
|
"version": "0.6.7",
|
||||||
"description": "An advanced barcode-scanner written in JavaScript",
|
"description": "An advanced barcode-scanner written in JavaScript",
|
||||||
"main": "dist/quagga.js",
|
"main": "dist/quagga.js",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user