# Localisation of Robot in a Rectangle

I am wondering how to go about localising a robot in a rectangle drawn on a smooth surface. Basically, there is a tape that lines the shape of the rectangle, and the color of this tape is unique in the scene. I have a camera mounted on the robot. So my question is, is it possible using image processing, and knowing the size of the rectangle, to localise the robot within this rectangle so it may navigate the area of the rectangle. Obviously the robot is driving in the same plane as the rectangle. Thanks

• Please be more specific, where on the robot is the camera? What do you mean by saying localize? Best case scenario you calculate your distance from the lines (and/or from the corners) but you can't figure out the orientation of the robot. – nionios Nov 28 '19 at 17:51
• The camera is above the robot, orientated slightly downward so it can see the floor infront of the robot. Localise as in know where in the rectangle the robot is based on a most likely prediction. Would the corners of the rectangle not be able to provide an idea of orientation? – SupanovaZA Nov 28 '19 at 17:59
• Imagine that you see 1 or 2 corners, if there nothing more differentiating them from the others, it is almost impossible to understand which 2 corners you are looking at. I think that you need something more over there, like a different color – nionios Nov 28 '19 at 22:14
• It is possible to use different colours. That is definitely not out of the question. So assuming I had a unique colour per side/corner, are there any computer vision or similar algorithms that might help? – SupanovaZA Nov 29 '19 at 12:10