Question
-
Topic
-
Problems when deploying posenet on website
I’m trying to deploy the upload video demo of pose detection on my website.
[Link to demo GitHub page][2]
[Link to my website][3]
I’m getting two different errors on [Safari][4] and [Google Chrome][1].
Both the errors are occurring on this line:
“`
import ‘@tensorflow/tfjs-backend-webgl’;
“`
Usually , when I run the demo on my localhost I first build the dependencies using:“`
yarn build-dep
“`
Then , I install the dependencies using:
“`
yarn
“`
Then, I run the demo using:
“`
yarn watch
“`
Finally, I open the demo at:
“`
localhost:1234/?model=movenet
“`
I don’t know how to do these steps on my website.[1]: https://i.stack.imgur.com/2g4SN.png
[2]: https://github.com/tensorflow/tfjs-models/tree/master/pose-detection/demos/upload_video
[3]: https://allzen.tech
[4]: https://i.stack.imgur.com/KwGMv.png