mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-12 21:21:42 +08:00
Fixed an error in the debug view
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
.sass-cache/
|
.sass-cache/
|
||||||
node_modules/
|
node_modules/
|
||||||
.project
|
.project
|
||||||
|
_site/
|
||||||
|
|||||||
Vendored
+1
-1
@@ -5909,7 +5909,7 @@ function(ImageWrapper, CVUtils, Rasterizer, Tracer, skeletonizer, ArrayHelper, I
|
|||||||
if (_config.showFoundPatches) {
|
if (_config.showFoundPatches) {
|
||||||
for ( i = 0; i < patchesFound.length; i++) {
|
for ( i = 0; i < patchesFound.length; i++) {
|
||||||
patch = patchesFound[i];
|
patch = patchesFound[i];
|
||||||
ImageDebug.drawRect(patch.pos, _subImageWrapper.size, _canvasContainer.ctx.binary, {color: "99ff00", lineWidth: 2});
|
ImageDebug.drawRect(patch.pos, _subImageWrapper.size, _canvasContainer.ctx.binary, {color: "#99ff00", lineWidth: 2});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
@@ -215,7 +215,7 @@ function(ImageWrapper, CVUtils, Rasterizer, Tracer, skeletonizer, ArrayHelper, I
|
|||||||
if (_config.showFoundPatches) {
|
if (_config.showFoundPatches) {
|
||||||
for ( i = 0; i < patchesFound.length; i++) {
|
for ( i = 0; i < patchesFound.length; i++) {
|
||||||
patch = patchesFound[i];
|
patch = patchesFound[i];
|
||||||
ImageDebug.drawRect(patch.pos, _subImageWrapper.size, _canvasContainer.ctx.binary, {color: "99ff00", lineWidth: 2});
|
ImageDebug.drawRect(patch.pos, _subImageWrapper.size, _canvasContainer.ctx.binary, {color: "#99ff00", lineWidth: 2});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user