| In recent years,the car into more and more families,the popularity of the car has brought the advantages of convenient travel,at the same time caused by traffic accidents are also growing year by year.When the driver in the process of driving or parking car,it may cause traffic accidents,due to the driver did not understand the environment.The rearview mirror as an auxiliary driver to observe the rear and sides of the tool,it is essential to safe driving and parking.At present,most of the cars are generally installed electric rearview mirror,it has a convenient advantage,but there are still shortcomings,such as when replacing the driver of different sizes,drivers need to adjust the button in the car many times in order to obtain a suitable rear view,if the driver in the process of regulation will distract the driver’s attention,there is a great risk.In addition,some drivers especially rookie drivers,in the regulation of the rearview mirror when not grasp the regulation principle of best rearview mirror view,may cause the rearview mirror view range is not reasonable,and buried security risks under traffic.In order to make the driver get the best view of the rear side of the car through the rearview mirror in the process of driving or parking,this paper designs the rearview mirror adjusting system.The thesis analyzes the domestic and foreign situation of rearview mirror adjusting system,this paper analyzes the domestic and foreign status quo status and mirror adjustment system,the system of different methods are compared and analyzed,based on the rearview mirror adjustment system retains the original merits,shortcomings of current mirror adjustment method,designed an eye location based automobile rearview mirror automatic regulating system.The system takes the processor of embedded system as the core,uses a single camera to collect the driver’s image in the car.The eye position of the driver image by the human eye positioning algorithm,combined with the perspective correction algorithm of coordinate correction so as to get spatial position of the driver,and the angle of the rearview mirror and the position coordinates corresponding relation algorithm needed to adjust the angle of rearview mirror,driving mirror adjusting motor positioning to get the correct position.This paper studies the system can quickly and accurately find the best view of human observation mirror,while maintaining the advantages of electric rearview mirror electric adjustment,but also overcomes the need to get the best view of the mirror and can not ensure the shortcomings of many regulation.The implementation of eye location based on automobile rearview mirror control system is designed,including the overall scheme of the system,the hardware equipment selection,system core algorithm,software design,and explain the specific functions of the system according to the requirements. |