Skip to content

akalinow/RPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPi

RaspberryPi projects

FaceFollow

A toy code for a raspberry pi camera usage:

Install instructions

sudo apt install portaudio19-dev bluez-alsa-utils vsftpd
sudo dpkg-reconfigure locales
sudo systemctl disable bluealsa
pactl list #find name of the BT speaker
sudo pactl set-card-profile bluez_card.00_A4_1C_B0_CE_E6 headset-head-unit
cd RPi
sudo cp config/pulse/default.pa /etc/pulse
sudo cp config/boot/config.txt /boot/firmware/config.txt
sudo cp config/systemd/* /lib/systemd/system/
sudo cp config/crontab/akalinow /var/spool/cron/crontabs
sudo systemctl enable jupyter.service
sudo systemctl enable vsftpd.service
sudo systemctl enable face_monitor.service
python3 -m venv --system-site-packages ./venv
source venv/bin/activate
pip install -r python/requirements.txt
pip3 install git+https://github.com/pimoroni/VL53L0X-python.git
cp python/TSL2591.py venv/lib/python3.11/site-packages
python3 -m ipykernel install --user --name=venv

The venv has to use system packages as there are issue witn installing picamera2 from pip.

Run instructions

cd RPi
source venv/bin/activate
cd FaceFollow
python face_follow.py

About

RaspberryPi projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published