get elbow coordinates at specific point python

I'm implementing an algorithm in python which is going to be used for my project I have done the realtime tracking of body joints using the mediapipe library. I want to get the elbow,wrist and shoulder coordinates at specific point so to calculate an angle between them. Is there anyway I can get the angle between these three points at specific point?

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum