Skip to content
Machine vision based automatic control of air flow
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


AutoFan is a prototype for controlling the direction of air flow of a fan based on computer vision in order to avoid fatigue during long distance car drives. It uses a low-cost camera (e.g. a webcam), a Raspberry Pi 2, a face recognition algorithm, an algorithm for eye blink detection and two servo motors controlling the lamellae of a custom-made fan. By inferring the position of a face from the camera images the servo motor angles are adjusted to point the airflow into (or away) from the face. By measuring eye blink frequency the system automatically points the air flow into the direction of the driver's face if the driver has been detected to be tired.

Please note: This is the repository for a project hosted on Please visit the project page for more information.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

You can’t perform that action at this time.