mirror of
https://github.com/overte-org/community-apps.git
synced 2025-06-16 21:39:05 +02:00
Disabled debug draw in emocam
This commit is contained in:
parent
c5e69f4cdc
commit
72b22a8063
1 changed files with 16 additions and 13 deletions
|
@ -869,6 +869,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
//draw on canvas
|
//draw on canvas
|
||||||
|
let debugEnable = false;
|
||||||
|
if (debugEnable) {
|
||||||
for (const landmarks of results.faceLandmarks) {
|
for (const landmarks of results.faceLandmarks) {
|
||||||
drawingUtils.drawConnectors(landmarks, FaceLandmarker.FACE_LANDMARKS_TESSELATION, {
|
drawingUtils.drawConnectors(landmarks, FaceLandmarker.FACE_LANDMARKS_TESSELATION, {
|
||||||
color: "#C0C0C070",
|
color: "#C0C0C070",
|
||||||
|
@ -884,6 +886,7 @@
|
||||||
drawingUtils.drawConnectors(landmarks, FaceLandmarker.FACE_LANDMARKS_LEFT_IRIS, {color: "#30FF30"});
|
drawingUtils.drawConnectors(landmarks, FaceLandmarker.FACE_LANDMARKS_LEFT_IRIS, {color: "#30FF30"});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
drawBlendShapes(videoBlendShapes, results.faceBlendshapes);
|
drawBlendShapes(videoBlendShapes, results.faceBlendshapes);
|
||||||
// Call this function again to keep predicting when the browser is ready.
|
// Call this function again to keep predicting when the browser is ready.
|
||||||
if (webcamRunning === true) {
|
if (webcamRunning === true) {
|
||||||
|
|
Loading…
Reference in a new issue