Calculate the real area of a mask

I use mmdetection detection an object.
And I got the pixels number of the mask(of the object). I also got the (x,y,z)position information of the object.
I am using the zed mini camera. The focal length is 700
How can I calculate the real area of the mask?