findDistance for the legs pose dectector/pose estimation (HELP PLEASE)

I cant seem to find the “findistance” module for the legs. In a tutorial of youtube, (Multiple Hand Gesture Control with OpenCV Python | CVZone - YouTube) Multiple Hand Gesture Control with OpenCV Python | CVZone - YouTube
he draws a line between hands. How do I go by accomplishing the same thing with the legs??? Can anyone help? THANK YOU FOR ANY HELP!!