Mobile robots are used in a laboratory automation system to transport specimens or experiments to their destinations. When moving, the robot has some error positions because of the wheels skid on the floor and the inaccuracy direction of the robot. The robot needs to correct its position and return to the track. By reading the landmarks in the environment, the robot can correct its position. This research proposes to do the position correction of the robot using a camera by reading the orange lines as an artificial landmark on the laboratory environment floor. The camera detects the orange lines as two parallel edges. And by Hough line transform (HLT) it produces Δρ value between line edges. The robot calculates the error position using the Δρ value and the biggest ρ (ρMAX) as the distance prediction robot to the line. Compared to the original robot movement on the Webots simulator application, this method can help the robot keep its position on the track. On the goal position, the robot can reduce 90% the error position. This error improvement makes the error position of the robot becomes around 5 mm from the target position.