An experiment with AI and dance. Under construction
Use the following instructions to setup the ReCall server
- The link https://observablehq.com/d/45e6162100bb65ed contains code for pose analysis. Download the code from this link
- Start local http server in the root folder of the downloaded files (You can use python , npm or any other webserver)
- Once you open the index page in a browser you should "Poses From Video Using TF-MoveNet" in the title. In that case you are done with this step
- You will also see some errors below. These errors are due to the video not being served. You will need to set up and start the server to serve videos in the next step
You will need to start another http server to serve videos
- Prerequisitie : Install npm file upload ser using the following command -> npm install files-upload-server -g. You will be using the web server started by files-upload-server to server videos
- Clone this ReCall repository
- Go to the "VideoDownload/videos" folder (The folder contains a video named "Dance of the Sugar Plum Fairy from The Nutcracker (The Royal Ballet).mp4" that is used by the main code)
- Start the webserver using the following command -> files-upload-server .
- This will start the webserver to serve videos
- Now refresh the
- Check the code you had downloaded from https://observablehq.com/d/45e6162100bb65ed and you should see the nutcracker video (It may take 10-15 secs to load)
- Identify a list (maybe 20) solo dance videos from youtube. Use pytube to capture video streams, also grab comments and descriptions.
- Use MoveNet https://observablehq.com/@randomfractals/tensorflow-movenet-intro to grab pose data
- Push pose and motion (change of pose) to a VectorDB as embedding (shall we use Pinecone or Chroma?). Later on we might perform some normalization, and/or dimensionality reduction to make recall more accurate.
- Hook up real time video to MoveNet, and run queries from VectorDB.
MoveNet: https://observablehq.com/@randomfractals/tensorflow-movenet-intro
https://www.youtube.com/watch?v=tevHCiprL8Q
https://medium.com/latinxinai/youtube-gpt-start-a-chat-with-a-video-efe92a499e60