I Taught these AI to Dance on Drake’s Song using PoseNet

Code is available in GitHub,

I taught these AI to dance on In-My-Feelings song by Drake using PoseNet and Tensorflow.js

I have used the Pose Detection model called PoseNet implemented in Tensorflow.js. The original repository can be found in https://github.com/tensorflow/tfjs-models/tree/master/posenet.

I have modified the codes to enable the following

  • Loads a pre-trained PoseNet model
  • Runs PoseNet model on any video saved on computer
  • Detects 16 set of key-points from sixteen parts of the human body from the video
  • Draws the key-points on Javascript Canvas on top of user selected background image
  • Canvas is being recorded and saved as .mp4!

The input video, output video and background image can be found in ‘video’ directory.

20 thoughts on “I Taught these AI to Dance on Drake’s Song using PoseNet

  1. Zarreen Naowal Reza

    Thanks Sahar for your kind words!

  2. It is in reality a nice and useful piece of info.
    I’m satisfied that you shared this helpful information with us.
    Please stay us informed like this. Thank
    you for sharing.

    • znreza

      Hi William, thanks for your kind words! Glad that it helped you 🙂

  3. This is very interesting, You are a very skilled blogger.

    I have joined your feed and look forward to seeking more of your
    great post. Also, I’ve shared your web site in my social networks!

    • znreza

      Hi Rylan, that’s so nice to you! Thanks so much. Keep following my blogs and give feedback please.

  4. Awesome write-up. I am a normal visitor of your blog and appreciate you taking the time to maintain the nice site. I will be a frequent visitor for a long time.

    • znreza

      Hi Alline, thanks for your kind words! Glad that it helped you.

  5. Hey this is kinda of off topic but I was wanting to know if blogs use WYSIWYG editors or if you have to manually code with HTML. I’m starting a blog soon but have no coding expertise so I wanted to get advice from someone with experience. Any help would be enormously appreciated!

    • znreza

      Hi Alba, I have used a WordPress theme as a base, then customised it as my taste (it required little coding).

  6. Terrific page, Keep up the great job. Appreciate it.

    • znreza

      Hi Jamestor, thanks for your kind words! Glad that it helped you.

  7. This design is steller! You certainly know
    how to keep a reader entertained. Between your wit and your videos,
    I was almost moved to start my own blog (well, almost…HaHa!) Wonderful job.

    I really enjoyed what you had to say, and
    more than that, how you presented it. Too cool!

    • znreza

      Hi blog3004.xyz, thanks for your kind words! I am glad that it helped you 🙂

  8. Great website! It looks really good! Sustain the great work!

    • znreza

      Hi BrianWar, thanks for your kind words! I am glad that it helped you 🙂

  9. sahar badr

    Thanks to share these with us and your amazon code

  10. Great content! Super high-quality! Keep it up! 🙂

  11. Теперь буду знать

  12. Abdulhakim Bashir

    Thank you for this amazing code, I want to crop these poses using Javascript, any guide on how to approach it. thanks

    • znreza

      Hi Abdulhakim, glad that you liked it. Can you please elaborate on what do you mean by ‘crop poses’? Do you mean crop like a snapshot or still picture? Thanks!

Leave a Reply to William Cancel reply

Your email address will not be published. Required fields are marked *