Generally a sequence of image is taken by a camera which is attached with the robot. The camera takes the image of the background. When the robot moves the camera moves as well. We can have the motion direction by comparing the image sequences with six parameter model. But If we want to draw the travelling path with the change of motion direction, then to get the path of the robot that it has crossed is a problem. This paper proposes an image processing approach to find the solution to this problem.