Ball position detection in Padel game

Thanks for your reply.
Could you specify more detail about this part?

since that involves a division, the further away the ball is, the worse any uncertainty affects the estimation of its distance (Z), in the camera coordinate frame.

What does exactly make it difficult to estimate the distance? Could you give me some examples?
With this single camera system, how much accuracy can I expect?
If there’re two cameras, is this project possible?
Looking forward to hearing from you.
Thanks.