SlideShare a Scribd company logo
1 of 21
POSE
EXTRACTION
FOR REAL-TIME
WORKOUT
ASSISTANT
COURSE IT4983 IT
CAPSTONE
Royce Camp
Zachary Christmas
Jonathon Segars
Amanda Mead
Cameron Page
Milestone Report
#3
April 23, 2021
PROJECT
SUMMARY
The purpose of this project is to find, test, and
compare a software solution that deals with pose
extraction during real-time workouts. Our team
will choose a software solution, analyze its
effectiveness in extracting pose information from
images and videos, and then extract the
coordinates for key points of data from those
videos. We will then plot these coordinates using
a visualization platform to see how the
coordinates change during the video. We have
two external software's we will compare to our
chosen software solution and compare our
results.
MILESTONE 3
GOALS
 Expand on our testing, analysis, and key point
tracking for pose extraction.
 Continue to finalize and polish our PowerBI report
with visuals and more data.
 Compare our chosen software solution against
two others for performance in terms of running
speed and accuracy on different types of exercise
videos.
THE CHOSEN SOFTWARE SOLUTION: OPENPOSE
 Download OpenPose from: https://github.com/CMU-Perceptual-Computing-
Lab/openpose/releases
OPENPOSE - CONTINUED
 Provided the most accurate pose extraction
 Built in methods to extract the coordinates of key points
 Works on Windows and Linux
 Leading solution in the pose estimation open-source market
OPENPOSE
OVERLAY
 To run OpenPose, and
output a video with the
overlay: navigate to the
openpose file, and run
the command:
 binOpenPoseDemo.exe --
video [input video file path
with .mp4 or .avi video] --
net_resolution 320x320 --
write_json output_folder/ -
-write_video [output folder
name]/[output video title]
OPENPOSE POSE
EXTRACTION
WITHOUT OVERLAY
 Openpose also allows you to
extract just the skeleton of the
pose without overlaying it on
the video.
 binOpenPoseDemo.exe --video
[input video file path with .mp4
or .avi video] --net_resolution
320x320 --disable_blending --
write_json output_folder/ --
write_video [output folder
name]/[output video title]
OPENPOSE POINT
EXTRACTION
 To extract the keypoints
and export them as a
single file: navigate to
the openpose file, and
run the command:
 binOpenPoseDemo.exe --
video [input video file path
with .mp4 or .avi video] --
net_resolution 320x320 --
write_coco_json [output
folder name]/ [keypoint file
name .json]
CONVERT JSON
TO CSV
 Once the JSON has been
output from OpenPose,
we have data for all
available keypoints that
can be extracted.
 Here is a sample of 3
frame outputs from
OpenPose.
 As you can see, it is
difficult to identify what
keypoint is associated
with a given body part
CONVERT JSON
TO CSV -
CONTINUED
 To work around this issue,
a JavaScript function can
be written to extract and
label the keypoints that we
are concerned about
CONVERT JSON TO CSV - CONTINUED
 We took it a step further and placed that function in a public-facing web application where anyone
could extract data from OpenPose.
 Built using Create React App (https://github.com/facebook/create-react-app)
 Deployed using Git version control and Netlify: (https://www.netlify.com/)
 Source code can be found here (https://github.com/zachristmas/extract_openpose_json)
 Public facing web application can be found here: (https://nostalgic-ride-ca6d37.netlify.app/)
 Simply follow the instructions on the webpage to get the data for the keypoint you need.
IMPORTING CSV TO POWERBI
 Each CSV file is initially isolated to each key
point and video.
 We combined each CSV into one CSV file for a
whole video.
 Once I had a single file for a set of points for
each video, I used that data in the dashboard.
 Once the information was loaded in PowerBI I
was able to build out the X and Y vertical and
horizontal movement over each frame to
visual on its dashboard.
 Two pages were added for X, Y, Z mappings
from Fastpose.
POWERBI DASHBOARD
POWERBI DASHBOARD CONTINUED
FASTPOSE_DRNOOD
LE SOLUTION
 Lightweight 2D/3D
Realtime Pose Estimation
 Leverages AI-powered
deep-learning algorithms
to render 3D keypoints
using only a single RGB
camera
 3D Pose extraction can be
run on an external server
and fed to any web-capable
client
VIBE: VIDEO
INFERENCE FOR
HUMAN BODY
POSE AND SHAPE
ESTIMATION
 3D video pose and shape estimation software
 Supports multiple AI algorithms each for a different use case
(multi person vs single person)
 Can use pre-trained models or train models from scratch
 New feature allows pose extraction data to output FBX and
gITF files for use in 3D graphics applications like Blender and
Unity
Note: keypoints are output via
"tensors" to render a full human-
shape model, so extracting data
for specific body points was not
feasible.
EXTERNAL SOLUTIONS COMPARED TO OPENPOSE –
INSTALL AND EXECUTE
 Fastpose was easier to install and setup, as it was setup in a virtual environment.
 Openpose document was thorough but was not as easy to install.
 JSON to CSV conversion was similar, but we were able to extract the Z coordinate from Fastpose unlike
Openpose.
 Vibe was difficult to get running as it had a lot of dependencies.
 Vibe was able to provide a 3D pose extraction model but no points.
 Vibe had tensors but was not possible to get human readable body part location points.
 Fastpose seemed to render frames a lot quicker than Openpose; This seemed to sacrifice accuracy.
 Unable to get 3D (Z) point extraction from Openpose.
EXTERNAL SOLUTIONS COMPARED TO OPENPOSE CONT. -
PERFORMANCE AND ACCURACY
 Data points extracted from OpenPose were
more accurate and precise than Fastpose in a
frame-to-frame comparison.
 As you can see in the screenshot here on the
PowerBI report the Fastpose data points are
more jagged and inconsistent when compared
to OpenPose.
 The data points on the OpenPose were more
fluid.
 Fastpose was easier to execute than OpenPose
but you can see the performance and accuracy
took a hit.
PROBLEMS
ENCOUNTERED
 Access
 Many solutions require the Human 3.6m dataset
 Human 3.6m dataset access is limited
 Application process and access can take several months or longer
 Common errors encountered
 Competing drivers
 Poor documentation
 Abundance of software solutions
 Unable to extract datapoints
 VIBE Specific
 Pickled tensors format resulted in hundreds of points
 Challenging to focus in on a specific moment of motion
 Openpose Specific
 Required special cameras in order to function as 3D
 Capable of 3D, but only as a live application
PROJECT TIMELINE – GANNT CHART
QUESTIONS & ANSWERS

More Related Content

Similar to Pose Extraction for Real-Time Workout Assistant: Milestone 3

2012 04-19 theory-of_operation
2012 04-19 theory-of_operation2012 04-19 theory-of_operation
2012 04-19 theory-of_operationbobwolff68
 
Deploying An Optimized Desktop - XP to 7 With P2V
Deploying An Optimized Desktop - XP to 7 With P2VDeploying An Optimized Desktop - XP to 7 With P2V
Deploying An Optimized Desktop - XP to 7 With P2VStephen Rose
 
Implementing a parallel_open_cv_application_on_raspberry_pi3(1)
Implementing a parallel_open_cv_application_on_raspberry_pi3(1)Implementing a parallel_open_cv_application_on_raspberry_pi3(1)
Implementing a parallel_open_cv_application_on_raspberry_pi3(1)Rohith R
 
Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligenc...
Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligenc...Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligenc...
Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligenc...Joe Kuemerle
 
0843476 Video Editing 101
0843476 Video Editing 1010843476 Video Editing 101
0843476 Video Editing 101ssgoku129
 
Image Detection and Count Using Open Computer Vision (Opencv)
Image Detection and Count Using Open Computer Vision (Opencv)Image Detection and Count Using Open Computer Vision (Opencv)
Image Detection and Count Using Open Computer Vision (Opencv)IJERA Editor
 
Vipul divyanshu documentation on Kinect and Motion Tracking
Vipul divyanshu documentation  on Kinect and Motion TrackingVipul divyanshu documentation  on Kinect and Motion Tracking
Vipul divyanshu documentation on Kinect and Motion TrackingVipul Divyanshu
 
zJOS - Mainframe Automation Solution
zJOS - Mainframe Automation SolutionzJOS - Mainframe Automation Solution
zJOS - Mainframe Automation SolutionDeru Sudibyo
 
IBM Cognos Report Studio Version 10 Tips and Tricks – Webinar Q & A
IBM Cognos Report Studio Version 10 Tips and Tricks – Webinar Q & AIBM Cognos Report Studio Version 10 Tips and Tricks – Webinar Q & A
IBM Cognos Report Studio Version 10 Tips and Tricks – Webinar Q & ASenturus
 
Windows Deployment Tools And Methodologies
Windows Deployment Tools And MethodologiesWindows Deployment Tools And Methodologies
Windows Deployment Tools And MethodologiesAidan Finn
 
Android 3D by Ivan Trajkovic and Dotti Colvin
Android 3D by Ivan Trajkovic and Dotti ColvinAndroid 3D by Ivan Trajkovic and Dotti Colvin
Android 3D by Ivan Trajkovic and Dotti Colvinswengineers
 
Getting Started with Adobe After Effects.pdf
Getting Started with Adobe After Effects.pdfGetting Started with Adobe After Effects.pdf
Getting Started with Adobe After Effects.pdfsaintrubysupply
 
Evaluation question 4)
Evaluation question 4)Evaluation question 4)
Evaluation question 4)Elliott Day
 
iVideo Editor with Background Remover and Image Inpainting
iVideo Editor with Background Remover and Image InpaintingiVideo Editor with Background Remover and Image Inpainting
iVideo Editor with Background Remover and Image InpaintingIRJET Journal
 
Baseball and Video Delivery: How BAMTech Uses Jira Software to Scale
Baseball and Video Delivery: How BAMTech Uses Jira Software to ScaleBaseball and Video Delivery: How BAMTech Uses Jira Software to Scale
Baseball and Video Delivery: How BAMTech Uses Jira Software to ScaleAtlassian
 

Similar to Pose Extraction for Real-Time Workout Assistant: Milestone 3 (20)

2012 04-19 theory-of_operation
2012 04-19 theory-of_operation2012 04-19 theory-of_operation
2012 04-19 theory-of_operation
 
Image Converter
Image ConverterImage Converter
Image Converter
 
Deploying An Optimized Desktop - XP to 7 With P2V
Deploying An Optimized Desktop - XP to 7 With P2VDeploying An Optimized Desktop - XP to 7 With P2V
Deploying An Optimized Desktop - XP to 7 With P2V
 
Implementing a parallel_open_cv_application_on_raspberry_pi3(1)
Implementing a parallel_open_cv_application_on_raspberry_pi3(1)Implementing a parallel_open_cv_application_on_raspberry_pi3(1)
Implementing a parallel_open_cv_application_on_raspberry_pi3(1)
 
Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligenc...
Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligenc...Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligenc...
Extending the Visual Studio 2010 Code Editor to Visualize Runtime Intelligenc...
 
0843476 Video Editing 101
0843476 Video Editing 1010843476 Video Editing 101
0843476 Video Editing 101
 
Image Detection and Count Using Open Computer Vision (Opencv)
Image Detection and Count Using Open Computer Vision (Opencv)Image Detection and Count Using Open Computer Vision (Opencv)
Image Detection and Count Using Open Computer Vision (Opencv)
 
Vipul divyanshu documentation on Kinect and Motion Tracking
Vipul divyanshu documentation  on Kinect and Motion TrackingVipul divyanshu documentation  on Kinect and Motion Tracking
Vipul divyanshu documentation on Kinect and Motion Tracking
 
zJOS - Mainframe Automation Solution
zJOS - Mainframe Automation SolutionzJOS - Mainframe Automation Solution
zJOS - Mainframe Automation Solution
 
RobotStudiopp.ppt
RobotStudiopp.pptRobotStudiopp.ppt
RobotStudiopp.ppt
 
ie450RobotStudio.ppt
ie450RobotStudio.pptie450RobotStudio.ppt
ie450RobotStudio.ppt
 
Ijetr011814
Ijetr011814Ijetr011814
Ijetr011814
 
Game Studio
Game StudioGame Studio
Game Studio
 
IBM Cognos Report Studio Version 10 Tips and Tricks – Webinar Q & A
IBM Cognos Report Studio Version 10 Tips and Tricks – Webinar Q & AIBM Cognos Report Studio Version 10 Tips and Tricks – Webinar Q & A
IBM Cognos Report Studio Version 10 Tips and Tricks – Webinar Q & A
 
Windows Deployment Tools And Methodologies
Windows Deployment Tools And MethodologiesWindows Deployment Tools And Methodologies
Windows Deployment Tools And Methodologies
 
Android 3D by Ivan Trajkovic and Dotti Colvin
Android 3D by Ivan Trajkovic and Dotti ColvinAndroid 3D by Ivan Trajkovic and Dotti Colvin
Android 3D by Ivan Trajkovic and Dotti Colvin
 
Getting Started with Adobe After Effects.pdf
Getting Started with Adobe After Effects.pdfGetting Started with Adobe After Effects.pdf
Getting Started with Adobe After Effects.pdf
 
Evaluation question 4)
Evaluation question 4)Evaluation question 4)
Evaluation question 4)
 
iVideo Editor with Background Remover and Image Inpainting
iVideo Editor with Background Remover and Image InpaintingiVideo Editor with Background Remover and Image Inpainting
iVideo Editor with Background Remover and Image Inpainting
 
Baseball and Video Delivery: How BAMTech Uses Jira Software to Scale
Baseball and Video Delivery: How BAMTech Uses Jira Software to ScaleBaseball and Video Delivery: How BAMTech Uses Jira Software to Scale
Baseball and Video Delivery: How BAMTech Uses Jira Software to Scale
 

Recently uploaded

APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 

Recently uploaded (20)

APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 

Pose Extraction for Real-Time Workout Assistant: Milestone 3

  • 1. POSE EXTRACTION FOR REAL-TIME WORKOUT ASSISTANT COURSE IT4983 IT CAPSTONE Royce Camp Zachary Christmas Jonathon Segars Amanda Mead Cameron Page Milestone Report #3 April 23, 2021
  • 2. PROJECT SUMMARY The purpose of this project is to find, test, and compare a software solution that deals with pose extraction during real-time workouts. Our team will choose a software solution, analyze its effectiveness in extracting pose information from images and videos, and then extract the coordinates for key points of data from those videos. We will then plot these coordinates using a visualization platform to see how the coordinates change during the video. We have two external software's we will compare to our chosen software solution and compare our results.
  • 3. MILESTONE 3 GOALS  Expand on our testing, analysis, and key point tracking for pose extraction.  Continue to finalize and polish our PowerBI report with visuals and more data.  Compare our chosen software solution against two others for performance in terms of running speed and accuracy on different types of exercise videos.
  • 4. THE CHOSEN SOFTWARE SOLUTION: OPENPOSE  Download OpenPose from: https://github.com/CMU-Perceptual-Computing- Lab/openpose/releases
  • 5. OPENPOSE - CONTINUED  Provided the most accurate pose extraction  Built in methods to extract the coordinates of key points  Works on Windows and Linux  Leading solution in the pose estimation open-source market
  • 6. OPENPOSE OVERLAY  To run OpenPose, and output a video with the overlay: navigate to the openpose file, and run the command:  binOpenPoseDemo.exe -- video [input video file path with .mp4 or .avi video] -- net_resolution 320x320 -- write_json output_folder/ - -write_video [output folder name]/[output video title]
  • 7. OPENPOSE POSE EXTRACTION WITHOUT OVERLAY  Openpose also allows you to extract just the skeleton of the pose without overlaying it on the video.  binOpenPoseDemo.exe --video [input video file path with .mp4 or .avi video] --net_resolution 320x320 --disable_blending -- write_json output_folder/ -- write_video [output folder name]/[output video title]
  • 8. OPENPOSE POINT EXTRACTION  To extract the keypoints and export them as a single file: navigate to the openpose file, and run the command:  binOpenPoseDemo.exe -- video [input video file path with .mp4 or .avi video] -- net_resolution 320x320 -- write_coco_json [output folder name]/ [keypoint file name .json]
  • 9. CONVERT JSON TO CSV  Once the JSON has been output from OpenPose, we have data for all available keypoints that can be extracted.  Here is a sample of 3 frame outputs from OpenPose.  As you can see, it is difficult to identify what keypoint is associated with a given body part
  • 10. CONVERT JSON TO CSV - CONTINUED  To work around this issue, a JavaScript function can be written to extract and label the keypoints that we are concerned about
  • 11. CONVERT JSON TO CSV - CONTINUED  We took it a step further and placed that function in a public-facing web application where anyone could extract data from OpenPose.  Built using Create React App (https://github.com/facebook/create-react-app)  Deployed using Git version control and Netlify: (https://www.netlify.com/)  Source code can be found here (https://github.com/zachristmas/extract_openpose_json)  Public facing web application can be found here: (https://nostalgic-ride-ca6d37.netlify.app/)  Simply follow the instructions on the webpage to get the data for the keypoint you need.
  • 12. IMPORTING CSV TO POWERBI  Each CSV file is initially isolated to each key point and video.  We combined each CSV into one CSV file for a whole video.  Once I had a single file for a set of points for each video, I used that data in the dashboard.  Once the information was loaded in PowerBI I was able to build out the X and Y vertical and horizontal movement over each frame to visual on its dashboard.  Two pages were added for X, Y, Z mappings from Fastpose.
  • 15. FASTPOSE_DRNOOD LE SOLUTION  Lightweight 2D/3D Realtime Pose Estimation  Leverages AI-powered deep-learning algorithms to render 3D keypoints using only a single RGB camera  3D Pose extraction can be run on an external server and fed to any web-capable client
  • 16. VIBE: VIDEO INFERENCE FOR HUMAN BODY POSE AND SHAPE ESTIMATION  3D video pose and shape estimation software  Supports multiple AI algorithms each for a different use case (multi person vs single person)  Can use pre-trained models or train models from scratch  New feature allows pose extraction data to output FBX and gITF files for use in 3D graphics applications like Blender and Unity Note: keypoints are output via "tensors" to render a full human- shape model, so extracting data for specific body points was not feasible.
  • 17. EXTERNAL SOLUTIONS COMPARED TO OPENPOSE – INSTALL AND EXECUTE  Fastpose was easier to install and setup, as it was setup in a virtual environment.  Openpose document was thorough but was not as easy to install.  JSON to CSV conversion was similar, but we were able to extract the Z coordinate from Fastpose unlike Openpose.  Vibe was difficult to get running as it had a lot of dependencies.  Vibe was able to provide a 3D pose extraction model but no points.  Vibe had tensors but was not possible to get human readable body part location points.  Fastpose seemed to render frames a lot quicker than Openpose; This seemed to sacrifice accuracy.  Unable to get 3D (Z) point extraction from Openpose.
  • 18. EXTERNAL SOLUTIONS COMPARED TO OPENPOSE CONT. - PERFORMANCE AND ACCURACY  Data points extracted from OpenPose were more accurate and precise than Fastpose in a frame-to-frame comparison.  As you can see in the screenshot here on the PowerBI report the Fastpose data points are more jagged and inconsistent when compared to OpenPose.  The data points on the OpenPose were more fluid.  Fastpose was easier to execute than OpenPose but you can see the performance and accuracy took a hit.
  • 19. PROBLEMS ENCOUNTERED  Access  Many solutions require the Human 3.6m dataset  Human 3.6m dataset access is limited  Application process and access can take several months or longer  Common errors encountered  Competing drivers  Poor documentation  Abundance of software solutions  Unable to extract datapoints  VIBE Specific  Pickled tensors format resulted in hundreds of points  Challenging to focus in on a specific moment of motion  Openpose Specific  Required special cameras in order to function as 3D  Capable of 3D, but only as a live application
  • 20. PROJECT TIMELINE – GANNT CHART