Skip to main content
. 2023 Jan 13;9:e1152. doi: 10.7717/peerj-cs.1152
Algorithm 1: Localization of Keypoints using Blazepsoe Model
Input: Set of RGB Images — P
Set of BlazePose Landmarks — L
Output: Set of Resultant Images R imposed with pose Landmark L
Set of BlazePose coordinates in train.csv file.
1. Initialize supported python libraries for BlazePose model
2. Initialize BlazePose landmark — L
3. Initialize Input Image path (P)
4. Define path for Resultant Images (R)
5. For P Images do
Train BlazePose model to estimate the localization of all body joints
Save the resultant images (R)
End
6. Record Blazepsoe coordinates x,y in train.csv
7. Return {train.csv, Resultant Images R}