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
|
||||
========
|
||||
|
||||
- [Changelog](#changelog) (2015-05-20)
|
||||
- [Changelog](#changelog) (2015-06-09)
|
||||
|
||||
## What is QuaggaJS?
|
||||
|
||||
@@ -212,12 +212,18 @@ The default `config` object is set as followed:
|
||||
```javascript
|
||||
{
|
||||
inputStream: { name: "Live",
|
||||
type: "LiveStream",
|
||||
constraints: {
|
||||
width: 640,
|
||||
height: 480,
|
||||
facing: "environment"
|
||||
}
|
||||
type: "LiveStream",
|
||||
constraints: {
|
||||
width: 640,
|
||||
height: 480,
|
||||
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,
|
||||
debug: false,
|
||||
@@ -293,6 +299,11 @@ work.
|
||||
|
||||
## <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
|
||||
- Improvements
|
||||
- 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) {
|
||||
var dimension = {
|
||||
value: parseFloat(value),
|
||||
unit: value.indexOf("%") === value.length-1 ? "%" : "px"
|
||||
unit: value.indexOf("%") === value.length-1 ? "%" : "%"
|
||||
};
|
||||
|
||||
return dimension;
|
||||
@@ -6574,7 +6574,8 @@ function(ImageWrapper, CVUtils, Rasterizer, Tracer, skeletonizer, ArrayHelper, I
|
||||
};
|
||||
|
||||
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.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",
|
||||
"version": "0.6.6",
|
||||
"version": "0.6.7",
|
||||
"description": "An advanced barcode-scanner written in JavaScript",
|
||||
"main": "dist/quagga.js",
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user