In the process of robot and automobile autonomous moving
vehicle cannot move along predestinate path due to road status and other factors.An algorithm of machine vision-based yaw angle computation for avoiding vehicle in danger is presented.The system constitutes of machine vision-based yaw angle computation is introduced.Algorithm of yaw angle computation which is built on feature points tracking is studied.Experimental results show that this method can compute yaw-angle in the process of vehicle moving effectively.