Just seat in your smart car and look at the rear mirror. It recognizes you and finds the best angles to adjusts itself according to your head's position.
SmartCar is a combination of hardware and software development to automate rear mirror adjustment. It uses python different packages to recognizes the face and eyes of the driver, and then, calculates the best angles of the rear mirror so that the driver has the widest view from the rear window of the car. Detail information has been provided in this tutorial.
SmartCar follows four steps to adjust the mirror specifically for the driver's view.
To use all the capabilities of SmartCar, you must follow above figure's steps. Therefore, you just need to run main.py in the main repository./ You can also stereo calibration, real-time face detection, or the algorithm of the angle calculation for the rear mirror.
Before anything, make sure to have following libraries and packages.
numpy
serial
opencv
sympy
glob