Final project for my engineering graduation.
You need to download and install python on your machine, you can get it from the official website: Download Python
Then, you need to install the project dependencies on your machine running the following:
pip install pyserial opencv-python numpy schedule
Finally, in the root folder of this project, you can run:
python project/main.py
Set the right values for the constants in project/utils/constants.py according to your physical setup.
You can list the connected serial ports with:
python -m serial.tools.list_ports
Run the following program, to find out the threshold values for the colours you want to detect:
python project/colorLimitsDetection.py
Once you found the values, set them in the main script.