posture detection using machine learing and deep learning well, let me tell you some breif about this project in this project we are not trainihg the model, it is front end based project here you need two libraries.
(p5.js) is a JavaScript library for creative coding, with a focus on making coding accessible and inclusive for artists, designers, educators, beginners, and anyone else! p5.js is free and open-source, you can read more through this link 'https://p5js.org/'. ml5.js is an open source, friendly high level interface to TensorFlow.js, a library for handling GPU-accelerated mathematical operations and memory management for machine learning algorithms, you can read more on 'https://ml5js.org/'open desktop and make a folder by renaming (PoseNet).
open visual studio code and open the previous folder which you made on desktop (poseNet)
create a file by naming (index.html)
create another file by naming (sketch.js)
copy the my code and paste it respective files and run it