issue-43: updated readme to 0.6.7

pull/44/head
Christoph Oberhofer 10 years ago
parent d799ee353e
commit 1e8eaa9be2

@ -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

5
dist/quagga.js vendored

@ -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));

File diff suppressed because one or more lines are too long

@ -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": {

Loading…
Cancel
Save