Skip to content

Commit

Permalink
fix safari incopatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
vladmandic committed Jan 12, 2021
1 parent 1d5a73f commit 01aeb1c
Show file tree
Hide file tree
Showing 25 changed files with 757 additions and 1,452 deletions.
4 changes: 2 additions & 2 deletions config.js
Expand Up @@ -144,14 +144,14 @@ export default {
modelType: 'MobileNet', // Human includes MobileNet version, but you can switch to ResNet
},

pose: {
pose: { // TBD: not currently in use
enabled: false,
scoreThreshold: 0.6, // threshold for deciding when to remove boxes based on score
// in non-maximum suppression
iouThreshold: 0.3, // threshold for deciding whether boxes overlap too much
// in non-maximum suppression
modelPath: '../models/blazepose.json',
inputSize: 128, // fixed value
inputSize: 256, // fixed value
},

hand: {
Expand Down
22 changes: 11 additions & 11 deletions dist/demo-browser-index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/demo-browser-index.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/demo-browser-index.json
@@ -1,7 +1,7 @@
{
"inputs": {
"dist/human.esm.js": {
"bytes": 1912580,
"bytes": 1907681,
"imports": []
},
"demo/draw.js": {
Expand Down Expand Up @@ -38,14 +38,14 @@
"dist/demo-browser-index.js.map": {
"imports": [],
"inputs": {},
"bytes": 2040931
"bytes": 2030116
},
"dist/demo-browser-index.js": {
"imports": [],
"exports": [],
"inputs": {
"dist/human.esm.js": {
"bytesInOutput": 1905205
"bytesInOutput": 1900306
},
"demo/draw.js": {
"bytesInOutput": 7736
Expand All @@ -60,7 +60,7 @@
"bytesInOutput": 19424
}
},
"bytes": 1958909
"bytes": 1954010
}
}
}
6 changes: 3 additions & 3 deletions dist/human.esm-nobundle.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/human.esm-nobundle.js.map

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions dist/human.esm.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/human.esm.js.map

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions dist/human.esm.json
Expand Up @@ -264,7 +264,7 @@
]
},
"src/blazepose/blazepose.js": {
"bytes": 8999,
"bytes": 856,
"imports": [
{
"path": "src/log.js"
Expand Down Expand Up @@ -361,7 +361,7 @@
]
},
"config.js": {
"bytes": 10062,
"bytes": 10110,
"imports": []
},
"src/sample.js": {
Expand All @@ -373,7 +373,7 @@
"imports": []
},
"src/human.js": {
"bytes": 17787,
"bytes": 18921,
"imports": [
{
"path": "src/log.js"
Expand Down Expand Up @@ -433,7 +433,7 @@
"dist/human.esm.js.map": {
"imports": [],
"inputs": {},
"bytes": 1945558
"bytes": 1934763
},
"dist/human.esm.js": {
"imports": [],
Expand All @@ -442,7 +442,7 @@
],
"inputs": {
"src/blazeface/blazeface.js": {
"bytesInOutput": 5046
"bytesInOutput": 5039
},
"src/blazeface/box.js": {
"bytesInOutput": 1567
Expand Down Expand Up @@ -517,7 +517,7 @@
"bytesInOutput": 127037
},
"src/handpose/handpose.js": {
"bytesInOutput": 2025
"bytesInOutput": 2023
},
"src/gesture/gesture.js": {
"bytesInOutput": 3162
Expand All @@ -538,10 +538,10 @@
"bytesInOutput": 918
},
"src/human.js": {
"bytesInOutput": 11921
"bytesInOutput": 12660
},
"src/blazepose/blazepose.js": {
"bytesInOutput": 6201
"bytesInOutput": 572
},
"src/handpose/box.js": {
"bytesInOutput": 1420
Expand All @@ -559,7 +559,7 @@
"bytesInOutput": 23
}
},
"bytes": 1912580
"bytes": 1907681
}
}
}
22 changes: 11 additions & 11 deletions dist/human.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/human.js.map

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions dist/human.json
Expand Up @@ -264,7 +264,7 @@
]
},
"src/blazepose/blazepose.js": {
"bytes": 8999,
"bytes": 856,
"imports": [
{
"path": "src/log.js"
Expand Down Expand Up @@ -361,7 +361,7 @@
]
},
"config.js": {
"bytes": 10062,
"bytes": 10110,
"imports": []
},
"src/sample.js": {
Expand All @@ -373,7 +373,7 @@
"imports": []
},
"src/human.js": {
"bytes": 17787,
"bytes": 18921,
"imports": [
{
"path": "src/log.js"
Expand Down Expand Up @@ -433,14 +433,14 @@
"dist/human.js.map": {
"imports": [],
"inputs": {},
"bytes": 1945575
"bytes": 1934780
},
"dist/human.js": {
"imports": [],
"exports": [],
"inputs": {
"src/blazeface/blazeface.js": {
"bytesInOutput": 5046
"bytesInOutput": 5039
},
"src/blazeface/box.js": {
"bytesInOutput": 1567
Expand Down Expand Up @@ -515,7 +515,7 @@
"bytesInOutput": 127037
},
"src/handpose/handpose.js": {
"bytesInOutput": 2025
"bytesInOutput": 2023
},
"src/gesture/gesture.js": {
"bytesInOutput": 3162
Expand All @@ -527,7 +527,7 @@
"bytesInOutput": 3652
},
"src/human.js": {
"bytesInOutput": 11986
"bytesInOutput": 12725
},
"src/log.js": {
"bytesInOutput": 266
Expand All @@ -539,7 +539,7 @@
"bytesInOutput": 918
},
"src/blazepose/blazepose.js": {
"bytesInOutput": 6201
"bytesInOutput": 572
},
"src/handpose/box.js": {
"bytesInOutput": 1420
Expand All @@ -557,7 +557,7 @@
"bytesInOutput": 23
}
},
"bytes": 1912658
"bytes": 1907759
}
}
}
6 changes: 3 additions & 3 deletions dist/human.node-gpu.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/human.node-gpu.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/human.node.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/human.node.js.map

Large diffs are not rendered by default.

0 comments on commit 01aeb1c

Please sign in to comment.