A major research of the climb stair small humanoid robot is to make a robot can climb stair with itself. To climb stair, the robot needs to find the environment information. This paper presents the new technique for climb stair robot using image processing technique and also reduces the time processing. The experiment had been used a single camera fix at 60 cm height on the top of robot. The robot positions are located 60 and 55 cm away from the stair. The results show that, this technique can be applied to solve the problem of a robot climb stair, which the robot do not needed to climb at the middle of stair. The result also shows this technique can reduce the time computation approximately 48%.