Skip to content

Real Time Machine learning/Computer Vision project that detects if the motorcycle riders wear helmets.

License

Notifications You must be signed in to change notification settings

sotiriskar/safe-display

Repository files navigation

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

About

Real Time Machine learning/Computer Vision project that detects if the motorcycle riders wear helmets.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published