Face-Detection icon indicating copy to clipboard operation
Face-Detection copied to clipboard

Landmarks drawn too far apart

Open Hangmansraven opened this issue 4 years ago • 1 comments

The landmarks seem to be drawn too far apart, they do not fit the face in the video properly. It was already noticed but not fixed in the YouTube tutorial. Any suggestions how to adjust the size properly?

Hangmansraven avatar Dec 03 '20 19:12 Hangmansraven

apply css

 <style>
    body {
      margin: 0;
      padding: 0;
      width: 100vw;
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column
    }

    canvas {
      position: absolute;
      top: 0;
      left: 0;
    }
  </style>

tangmingsh avatar Apr 17 '21 06:04 tangmingsh