Mean of bbox and coordinates

What I Tried to do was split the array into the 4 set of numbers and minus it all to get the numbers. But that does not work. So I though there must be some sort of OpenCV command for it.