Skip to content

Latest commit

 

History

History
65 lines (52 loc) · 1.91 KB

README.md

File metadata and controls

65 lines (52 loc) · 1.91 KB

SafeDisplay

About SafeDisplay

A Tensorflow project that detects if the motorcycle rider wears a helmet or not and records stats.

How to Install requirements

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

Run SafeDisplay

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