In this paper, we make use of an intelligent vision technique to implement the robot path planning and the action of grasping objects. The image-gap information between the captured body and the hole is applied to the calculation of rotation angle. Moreover, the centroid point belongs to the identified geometry in the image is transformed into the coordinate system of the robotic arm such that the grasping sequence is set. Simultaneously, we create the robot path. Furthermore, by analysis of the database, the robotic arm can grasp objects into the correct hole. The experimental results indicate the practicality of the intelligent vision for robot path planning.