You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# download binary that will download videos
wget https://yt-dl.org/downloads/latest/youtube-dl
# make the binary executable
chmod a+rx youtube-dl
# download a video
./youtube-dl https://www.youtube.com/watch?v=eFkuPO253mk
# rename the video
mv "Cheap Thrills by Sia ft Sean Paul _ Dance Tutorial by Aditi Saxena _ Dancercise-eFkuPO253mk.mp4" cheap-thrills.mp4
split mp4 into frames
# download ffmpeg binary (ffmpeg is a video processing utility)
wget https://s3-us-west-2.amazonaws.com/lab-apps/dancing-with-robots/ffmpeg-release-amd64-static.tar.xz
# unzip the binary
tar -xf ffmpeg-release-amd64-static.tar.xz
# grab the actual binary bit
mv ffmpeg-4.1-64bit-static/ffmpeg .
# download script that processes videos
wget https://gist.githubusercontent.com/duhaime/c815744f2e201780c92960f661bc9297/raw/bb4cb15cf7d220d1fddb47ed23202b5862eeb42f/video_to_frames.py
# run script
python video_to_frames.py cheap-thrills.mp4
process video frames
# download the processing script
wget https://gist.githubusercontent.com/duhaime/c815744f2e201780c92960f661bc9297/raw/ca9f7cee110b2175036a801198f5b6ceea4b7ac3/run.job
# install dependencies
pip install https://github.com/eldar/pose-tensorflow --user
# run a test go with the processing script
python detect_frame_pose.py "frames/*.jpg" 1 1000
# run the processing script
sbatch run.job
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters