How to calculate average between 2 joints?

41 Views Asked by At

I have $21$ joints (each joint has $2$ coordinates $(x,y)$). I would like to calculate average value to get center of all joints. And then normalize the original coordinates.

How can I calculate average and normalize?