Compare commits

...

2 Commits

Author SHA1 Message Date
Alie Langston
8bd6c06f37 trying to kick off tests again, they work locally 2020-09-17 15:36:55 -04:00
Alie Langston
dcc0496ace moved blazeface to correct version 2020-09-17 14:31:33 -04:00
3 changed files with 4 additions and 3 deletions

4
package-lock.json generated
View File

@@ -4880,8 +4880,8 @@
}
},
"@tensorflow-models/blazeface": {
"version": "git+https://github.com/alangsto/blazeface.git#ae2ae0f29538ede33c404e2059608df4c1416bba",
"from": "git+https://github.com/alangsto/blazeface.git"
"version": "0.0.5",
"resolved": "git+https://github.com/alangsto/blazeface.git#ae2ae0f29538ede33c404e2059608df4c1416bba"
},
"@tensorflow/tfjs-converter": {
"version": "1.6.1",

View File

@@ -38,7 +38,7 @@
"@fortawesome/free-regular-svg-icons": "5.7.2",
"@fortawesome/free-solid-svg-icons": "5.8.2",
"@fortawesome/react-fontawesome": "0.1.11",
"@tensorflow-models/blazeface": "git+https://github.com/alangsto/blazeface.git",
"@tensorflow-models/blazeface": "0.0.5",
"@tensorflow/tfjs-converter": "1.6.1",
"@tensorflow/tfjs-core": "1.6.1",
"babel-polyfill": "6.26.0",

View File

@@ -129,6 +129,7 @@ class Camera extends React.Component {
}
giveFeedback(numFaces, rightEye, isCorrect) {
// testing blazeface
if (this.state.shouldGiveFeedback) {
const currentFeedback = this.state.feedback;
let newFeedback = '';