I need to estimate the position of a robot on a tennis court. The robot has a camera that can be used to detect the court-lines and trying to map them to an internal "tennis-court reference map".
My questions are:
-) Is this a good idea and how can it be easily realized with opencv? I am thinking in first unwarping the camera image to get a birds-eye view. Then filtering the white lines and trying to match them in size and position to the reference map. But how exactly can this matching be done with openCV?
-) Are there other, better suitable methods for that application? LIDAR is a problem since the net is not detected reliably and the dimensions of the court are too big.
Thanks