Package: pose-estimation-mp
Pose_EstimationThis project contains Full Body estimation, Face Tracking and Hand Estimation all using mediapipe library. These projects were done with help offreeCodeCamp.orgvideo.ContentsInstallationBody_EstimationsHand_EstimationFace_TrackingFace_Mesh_DetectionInstallationTo use this repo usegitclonehttps://github.com/REZ3LIET/Pose_Estimations.gitorpip3installpose-estimation-mpBody_EstimationsThis contains the modulebody_estimation_module.pywhich can be used to track the landmarks on a human body. It is limited to tracking a single person at a time and gives 33 unique landmarks on the body.UsageTo usebody_estimation_module.pyin your code simply import one of the following ways:importBody_Tracking
fromBody_Trackingimportbody_tracking_moduleasbtm
fromBody_Tracking.body_tracking_moduleimportBodyPoseDetectExampleTo use thebody_estimation_module.pygo toBody_Trackingdirectory in terminalFor default execution:python3bodytracking_module.pyTo execute with an imagepython3bodytracking_module.py-pData/Images/handstand.jpgTo execute on a videopython3bodytracking_module.py-v-pData/Videos/dance.mp4Hand_EstimationThis contains the modulehand_tracking_module.pywhich can be used to track the landmarks on hand(s) and also display them. It can track maximum of 2 handas at an instant.UsageTo usehand_tracking_module.pyin your code simply import one of the following ways:importHand_Tacking
fromHand_Tackingimporthand_tracking_moduleashtm
fromHand_Tacking.hand_tracking_moduleimportHandPoseDetectExampleTo use thehand_tracking_module.pygo toHand_Tackingdirectory in terminalFor default execution:python3hand_tracking_module.pyTo execute with an imagepython3hand_tracking_module.py-pData/Images/covered_face.jpgTo execute on a videopython3hand_tracking_module.py-v-pData/Videos/piano_playing.mp4Face_TrackingThis contains the moduleface_tracking_module.pywhich can be used to detect and track the face by drawing a bounding box around it. To detect faces at farther range set model type to 1.UsageTo useface_tracking_module.pyin your code simply import one of the following ways:importFace_Tracking
fromFace_Trackingimportface_tracking_moduleasftm
fromFace_Tracking.face_tracking_moduleimportFaceTrackExampleTo use theface_tracking_module.pygo toFace_Trackingdirectory in terminalFor default execution:python3face_tracking_module.pyTo execute with an imagepython3face_tracking_module.py-pData/Images/human_3.jpgTo execute on a videopython3face_tracking_module.py-v-pData/Videos/humans_1.mp4Face_Mesh_DetectionThis contains the moduleface_mesh_detection_module.pywhich can be used to detect and track the face by drawing a mesh on it around it. Max 2 faces can be detected.UsageTo useface_mesh_detection_module.pyin your code simply import one of the following ways:importFace_Tracking
fromFace_Trackingimportface_mesh_detection_moduleasftm
fromFace_Tracking.face_mesh_detection_moduleimportFaceDetectExampleTo use theface_mesh_detection_module.pygo toFace_Trackingdirectory in terminalFor default execution:python3face_mesh_detection_module.pyTo execute with an imagepython3face_mesh_detection_module.py-pData/Images/human_2.jpgTo execute on a videopython3face_mesh_detection_module.py-v-pData/Videos/humans_2.mp4