Uploaded October 2024 | Updated September 2026, 1 week ago
In this video, I explore the HandPose model using ml5.js. I'll demonstrate how to track hand keypoints and create an interactive painting sketch using gestures. Code: thecodingtrain.com/tracks/ml5js-beginners-guide/ml5/hand-pose
๐ Watch this video ad-free on Nebula nebula.tv/videos/codingtrain-hand-pose-detection-with-ml5js
p5.js Web Editor Sketches:
๐น๏ธ HandPose - Keypoints: editor.p5js.org/codingtrain/sketches/o5wnL6esQ
๐น๏ธ HandPose - Painting: editor.p5js.org/codingtrain/sketches/LCEHJm6PA
๐น๏ธ Simple painting: editor.p5js.org/codingtrain/sketches/3VcKxx_GY
๐น๏ธ HandPose Painting - Stroke Weight: editor.p5js.org/codingtrain/sketches/-C3Og5Wzs
๐น๏ธ HandPose Painting - Color: editor.p5js.org/codingtrain/sketches/InzaVXI-R
๐น๏ธ HandPose - Thumbs up or Thumbs Down: editor.p5js.org/codingtrain/sketches/0_qPHtsF_
๐น๏ธ HandPose - Particles: editor.p5js.org/codingtrain/sketches/t7l5pYDDI
๐ฅ Previous: youtu.be/T99fNXTUUaQ?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y
๐ฅ Next: youtu.be/2h8VArJ3gnQ?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y
๐ฅ All: youtube.com/playlist?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y
References:
๐ป ml5.js: ml5js.org
๐ซ Introduction to ML for the Arts: github.com/ml5js/Intro-ML-Arts-IMA-F24
๐บ Jack B. Du's YouTube channel: youtube.com/channel/UCUP34ETx7nvIbd4ypkR02hg
๐จ Jack B. Du's Instagram: instagram.com/jackbdu
๐ป On-Device, Real-Time Hand Tracking with MediaPipe: https://research.google/blog/on-device-real-time-hand-tracking-with-mediapipe/
๐ 3D Hand Pose with MediaPipe and TensorFlow.js: blog.tensorflow.org/2021/11/3D-handpose.html
Timestamps:
0:00 Introduction
1:23 Technical background of the model
3:52 Convert BodyPose to HandPose
5:54 Detecting more than one hand
6:14 Detecting handedness (left or right)
6:51 Creating a painting sketch with index and thumb
10:19 Add a layer using createGraphics()
12:40 Storing previous hand position to draw a line
14:17 Exercise ideas for you!
15:27 Goodbye!
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
๐ Website: thecodingtrain.com
๐พ Share Your Creation! thecodingtrain.com/guides/passenger-showcase-guide
๐ฉ Suggest Topics: github.com/CodingTrain/Suggestion-Box
๐ก GitHub: github.com/CodingTrain
๐ฌ Discord: thecodingtrain.com/discord
๐ Membership: youtube.com/thecodingtrain/join
๐ Store: standard.tv/codingtrain
๐๏ธ Twitter: twitter.com/thecodingtrain
๐ธ Instagram: instagram.com/the.coding.train
๐ฅ youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ฅ youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
๐ p5.js: p5js.org
๐ p5.js Web Editor: editor.p5js.org
๐ Processing: processing.org
๐ Code of Conduct: github.com/CodingTrain/Code-of-Conduct
This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecodingtrain.com/issues/new
#machinelearningml #webcam #posedetection #ml5js #handpose #ml5js #javascript
In this video, I explore the HandPose model using ml5.js. I'll demonstrate how to track hand keypoints and create an interactive painting sketch using gestures. Code: thecodingtrain.com/tracks/ml5js-beginners-guide/ml5/hand-pose
๐ Watch this video ad-free on Nebula nebula.tv/videos/codingtrain-hand-pose-detection-with-ml5js
p5.js Web Editor Sketches:
๐น๏ธ HandPose - Keypoints: editor.p5js.org/codingtrain/sketches/o5wnL6esQ
๐น๏ธ HandPose - Painting: editor.p5js.org/codingtrain/sketches/LCEHJm6PA
๐น๏ธ Simple painting: editor.p5js.org/codingtrain/sketches/3VcKxx_GY
๐น๏ธ HandPose Painting - Stroke Weight: editor.p5js.org/codingtrain/sketches/-C3Og5Wzs
๐น๏ธ HandPose Painting - Color: editor.p5js.org/codingtrain/sketches/InzaVXI-R
๐น๏ธ HandPose - Thumbs up or Thumbs Down: editor.p5js.org/codingtrain/sketches/0_qPHtsF_
๐น๏ธ HandPose - Particles: editor.p5js.org/codingtrain/sketches/t7l5pYDDI
๐ฅ Previous: youtu.be/T99fNXTUUaQ?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y
๐ฅ Next: youtu.be/2h8VArJ3gnQ?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y
๐ฅ All: youtube.com/playlist?list=PLRqwX-V7Uu6YPSwT06y_AEYTqIwbeam3y
References:
๐ป ml5.js: ml5js.org
๐ซ Introduction to ML for the Arts: github.com/ml5js/Intro-ML-Arts-IMA-F24
๐บ Jack B. Du's YouTube channel: youtube.com/channel/UCUP34ETx7nvIbd4ypkR02hg
๐จ Jack B. Du's Instagram: instagram.com/jackbdu
๐ป On-Device, Real-Time Hand Tracking with MediaPipe: https://research.google/blog/on-device-real-time-hand-tracking-with-mediapipe/
๐ 3D Hand Pose with MediaPipe and TensorFlow.js: blog.tensorflow.org/2021/11/3D-handpose.html
Timestamps:
0:00 Introduction
1:23 Technical background of the model
3:52 Convert BodyPose to HandPose
5:54 Detecting more than one hand
6:14 Detecting handedness (left or right)
6:51 Creating a painting sketch with index and thumb
10:19 Add a layer using createGraphics()
12:40 Storing previous hand position to draw a line
14:17 Exercise ideas for you!
15:27 Goodbye!
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
๐ Website: thecodingtrain.com
๐พ Share Your Creation! thecodingtrain.com/guides/passenger-showcase-guide
๐ฉ Suggest Topics: github.com/CodingTrain/Suggestion-Box
๐ก GitHub: github.com/CodingTrain
๐ฌ Discord: thecodingtrain.com/discord
๐ Membership: youtube.com/thecodingtrain/join
๐ Store: standard.tv/codingtrain
๐๏ธ Twitter: twitter.com/thecodingtrain
๐ธ Instagram: instagram.com/the.coding.train
๐ฅ youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
๐ฅ youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
๐ p5.js: p5js.org
๐ p5.js Web Editor: editor.p5js.org
๐ Processing: processing.org
๐ Code of Conduct: github.com/CodingTrain/Code-of-Conduct
This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecodingtrain.com/issues/new
#machinelearningml #webcam #posedetection #ml5js #handpose #ml5js #javascript










