remove debug code

pull/50/head
Vladimir Mandic 2020-11-04 01:13:40 -05:00
parent a3224b6e2d
commit fb1edae1c9
15 changed files with 36 additions and 37 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -91,7 +91,7 @@
]
},
"src/handpose/handpipeline.js": {
"bytes": 8058,
"bytes": 7861,
"imports": [
{
"path": "src/handpose/box.js"
@ -275,7 +275,7 @@
"dist/human.esm-nobundle.js.map": {
"imports": [],
"inputs": {},
"bytes": 607262
"bytes": 606968
},
"dist/human.esm-nobundle.js": {
"imports": [],
@ -356,7 +356,7 @@
"bytesInOutput": 997
},
"src/handpose/handpipeline.js": {
"bytesInOutput": 3233
"bytesInOutput": 3054
},
"src/handpose/anchors.js": {
"bytesInOutput": 127000
@ -380,7 +380,7 @@
"bytesInOutput": 0
}
},
"bytes": 212257
"bytes": 212078
}
}
}

4
dist/human.esm.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

8
dist/human.esm.json vendored
View File

@ -259,7 +259,7 @@
]
},
"src/handpose/handpipeline.js": {
"bytes": 8058,
"bytes": 7861,
"imports": [
{
"path": "node_modules/@tensorflow/tfjs/dist/tf.node.js"
@ -481,7 +481,7 @@
"dist/human.esm.js.map": {
"imports": [],
"inputs": {},
"bytes": 5403044
"bytes": 5402750
},
"dist/human.esm.js": {
"imports": [],
@ -619,7 +619,7 @@
"bytesInOutput": 1005
},
"src/handpose/handpipeline.js": {
"bytesInOutput": 3231
"bytesInOutput": 3052
},
"src/handpose/anchors.js": {
"bytesInOutput": 127001
@ -643,7 +643,7 @@
"bytesInOutput": 0
}
},
"bytes": 1273801
"bytes": 1273622
}
}
}

4
dist/human.js vendored

File diff suppressed because one or more lines are too long

4
dist/human.js.map vendored

File diff suppressed because one or more lines are too long

8
dist/human.json vendored
View File

@ -259,7 +259,7 @@
]
},
"src/handpose/handpipeline.js": {
"bytes": 8058,
"bytes": 7861,
"imports": [
{
"path": "node_modules/@tensorflow/tfjs/dist/tf.node.js"
@ -481,7 +481,7 @@
"dist/human.js.map": {
"imports": [],
"inputs": {},
"bytes": 5403040
"bytes": 5402746
},
"dist/human.js": {
"imports": [],
@ -619,7 +619,7 @@
"bytesInOutput": 1005
},
"src/handpose/handpipeline.js": {
"bytesInOutput": 3231
"bytesInOutput": 3052
},
"src/handpose/anchors.js": {
"bytesInOutput": 127001
@ -640,7 +640,7 @@
"bytesInOutput": 8522
}
},
"bytes": 1273846
"bytes": 1273667
}
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
dist/human.node.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -91,7 +91,7 @@
]
},
"src/handpose/handpipeline.js": {
"bytes": 8058,
"bytes": 7861,
"imports": [
{
"path": "src/handpose/box.js"
@ -275,7 +275,7 @@
"dist/human.node-nobundle.js.map": {
"imports": [],
"inputs": {},
"bytes": 622873
"bytes": 622579
},
"dist/human.node-nobundle.js": {
"imports": [],
@ -356,7 +356,7 @@
"bytesInOutput": 996
},
"src/handpose/handpipeline.js": {
"bytesInOutput": 3233
"bytesInOutput": 3054
},
"src/handpose/anchors.js": {
"bytesInOutput": 127000
@ -380,7 +380,7 @@
"bytesInOutput": 8467
}
},
"bytes": 212264
"bytes": 212085
}
}
}

View File

@ -176,7 +176,6 @@ class HandPipeline {
}
shouldUpdateRegionsOfInterest() {
console.log(this.regionsOfInterest.length, this.runsWithoutHandDetector, !this.regionsOfInterest || (this.regionsOfInterest.length === 0) || (this.runsWithoutHandDetector >= this.skipFrames));
return !this.regionsOfInterest || (this.regionsOfInterest.length === 0) || (this.runsWithoutHandDetector >= this.skipFrames);
}
}