My goal is to calculate distance from an object that detected based on color. When given that the camera and the object are horizontal, and also given and real relative heig