Skip to content

Commit

Permalink
remove debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
eyaler committed Jun 17, 2024
1 parent 5b7b0a8 commit 09a5bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ const effect_funcs = {
const thickness = Math.sqrt((eye2.x-eye1.x)**2 + ((eye2.y-eye1.y)*H/W)**2 + (eye2.z-eye1.z)**2) * 100
canvasCtx.lineWidth = thickness
canvasCtx.shadowBlur = thickness
console.log(thickness)
canvasCtx.beginPath()
canvasCtx.moveTo(eye1.x * W, eye1.y * H)
canvasCtx.lineTo((eye1.x+vec_x) * W, (eye1.y+vec_y) * H)
Expand Down Expand Up @@ -393,6 +392,7 @@ async function capture() {
})

// https://ai.google.dev/edge/mediapipe/solutions/vision/face_landmarker/web_js
// Note: This is currently only for short range faces. See: https://github.com/google-ai-edge/mediapipe/issues/4869
const faceLandmarker = await FaceLandmarker.createFromOptions(
vision, {
baseOptions: {
Expand Down

0 comments on commit 09a5bf1

Please sign in to comment.