A Tensorflow project that detects if the motorcycle rider wears a helmet or not and records stats.
For the Coral Dev Board installation, Run the command:
sudo bash requirements.sh
For the Raspberry pi4 installation, Run the command:
git clone https://github.com/hzeller/rpi-rgb-led-matrix.git
Now, move directory into the repo folder and install:
cd rpi-rgb-led-matrix
make build-python PYTHON=$(which python3)
sudo make install-python PYTHON=$(which python3)
After installation you need to move rgbmatrix folder to utils and delete rpi-rgb-led-matrix directory.
cd bindings/python
mv rgbmatrix /home/pi/SafeDisplay/utils
cd ..
rm -rf rpi-rgb-led-matrix
For the Raspberry pi4 run the command:
sudo python3 display_input.py
For the Coral Dev Board run the command:
python3 camera_output.py
or for the web application:
python3 web-app.py