Our team is working on implementing vision processing, and we have rotation calculations down, but are unsure about how to approach calculating distance. I have seen that some people use a scale factor as a direct ratio between height of the target and that seems easy enough, but I have heard that this doesn't have the best properties (from
254). They recommend using "line - plane intersections", but I have had trouble finding some examples of this. Where would I be able to find examples of these calculations? And are there any other better ways to calculate distance?