- Open the terminal on the raspberry pi and type the command
sudo apt-get update
- When finished, type
sudo apt-get upgrade
- Check that the Camera option in the raspberry pi configuration menu is enabled
- Then, type
cd Desktop
to move to the Desktop folder - Download this repo by typing
git clone https://github.com/zackbeucler/Research495.git
- After the download finsihes, type
mv Research495 clean_code && cd clean_code
to move to the TensorFlow folder - Then, type
sudo pip3 install virtualenv
to install virtual enviroments for Python3 - Next, create a virtual enviroment by typing
python3 -m venv env
to create an enviroment calledtflite1-env
- Start that enviroment by typing
source env/bin/activate
- Download additional requirements but typing
bash get_pi_requirements.sh
- Run the detection program by typing
python3 multi_wrks_detection_UI.py
- You can quit the program by typing
q
when it's running
- Open terminal and type
cd Desktop/clean_code
- Run the virtual enviroment by typing
source env/bin/activate
- Run the program by typing
python3 multi_wrks_detection_UI.py
- Add all files
git add .
- Commit files
git commit -m "message here"
- push files
git push origin main
multi_wrks_detection_UI.py
This file is for multiple workstations and has a UI to help setupmulti_wrks_detection.py
This file is for multiple workstations with no UIworkstation.py
contains the workstation class
- Prof. Tarimo
- Prof. Lee
- Evan Juras for the real-time detection code
Last updated: December 5, 2021