A simple IoT sensor that uses facial recognition to publish updates referring to the drowsiness of a subject. Built for the MATE35 course, Topics in Distributed Systems, at UFBA (Federal University of Bahia).
- Python 3
- SciPy
- Imutils
- OpenCV
- CMake
- Dlib
- Paho-MQTT
Be mindful that the commands below are to be used with Linux and similar operational systems.
-
Python 3 Compiler and pip
sudo apt-get install python3 sudo apt install python3-pip
-
SciPy
pip3 install scipy
-
Imutils
pip3 install imutils
-
OpenCv
pip3 install opencv-python
-
CMake
sudo apt-get install cmake
-
Dlib
pip3 install dlib
-
Paho-MQTT
pip3 install paho-mqtt
Be sure that your mosquitto server is running and mqtt_client.py is configured properly.
-
Running
python3 main.py
Distributed under the MIT License. See LICENSE
for more information.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/amazing-feature
) - Commit your Changes (
git commit -m 'Add some amazing-feature'
) - Push to the Branch (
git push origin feature/amazing-feature
) - Open a Pull Request
- AntĂ´nio Dias - antoniofdias
- Pedro Pontes - pedroccrp
See contributors page for more info.