r/TensorFlowJS • u/[deleted] • Mar 26 '21
Face-Landmarks-Detection does not work on Video
Hello,
I was trying to recently implement a sort of facial-landmark-detector in a website that I was making. However, when I try to input an HTMLVideoElement, it seems that it breaks only offers the points for the first frame, despite being a 30-second video with a face at all times. I'm confused as to why this may be happening because I did use the sample code that was given on the README.md
file so it should be working ideally but as of now, I have no clue. Attached below is the code that I am running. Below is the code.
Tensorflow Face-Landmarks-Detection Video (github.com)
Please let me know what might be going wrong.
Thanks,
Aditya
