Skip to content

Commit

Permalink
deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
gbishop committed Jan 1, 2024
1 parent c928128 commit 3e787ff
Show file tree
Hide file tree
Showing 8 changed files with 3,289 additions and 2,770 deletions.
Binary file modified examples/updated/utterance_Contact.osdpi
Binary file not shown.
605 changes: 393 additions & 212 deletions index.css

Large diffs are not rendered by default.

5,420 changes: 2,884 additions & 2,536 deletions index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.js.map

Large diffs are not rendered by default.

22 changes: 8 additions & 14 deletions service-worker.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion service-worker.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions tracky-mouse/facemesh.worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ tf.setBackend("webgl").then(
(error) => {
console.log("tf.setBackend('webgl') error", error);
close();
}
},
);

var facemeshTensorFlowModel;

onmessage = (e) => {
// console.log('Message received from main script', e.data);
if (e.data.type === "LOAD") {
facemesh.load(e.data.options).then((model) => {
facemeshTensorFlowModel = model;
Expand All @@ -34,7 +33,7 @@ onmessage = (e) => {
},
(error) => {
console.log(error);
}
},
);
}
};
3 changes: 0 additions & 3 deletions tracky-mouse/tracky-mouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ TrackyMouse.init = function (div) {
facemeshWorker.addEventListener(
"message",
(e) => {
// console.log('Message received from worker', e.data);
if (e.data.type === "LOADED") {
facemeshLoaded = true;
facemeshEstimateFaces = () => {
Expand Down Expand Up @@ -411,7 +410,6 @@ TrackyMouse.init = function (div) {
5 + this.curXY[inputOffset],
this.curXY[inputOffset + 1]
);
// console.log(this.curXY[inputOffset], this.curXY[inputOffset + 1]);
ctx.strokeStyle = ctx.fillStyle;
ctx.beginPath();
ctx.moveTo(this.prevXY[inputOffset], this.prevXY[inputOffset + 1]);
Expand Down Expand Up @@ -709,7 +707,6 @@ TrackyMouse.init = function (div) {
// workerSyncedOops.addPoint(annotations.leftEyeLower0[8][0], annotations.leftEyeLower0[8][1]);
// workerSyncedOops.addPoint(annotations.rightEyeLower0[8][0], annotations.rightEyeLower0[8][1]);

// console.log(workerSyncedOops.pointCount, cameraFramesSinceFacemeshUpdate.length, workerSyncedOops.curXY);
if (enableTimeTravel) {
debugFramesCtx.clearRect(
0,
Expand Down

0 comments on commit 3e787ff

Please sign in to comment.