Raspberry Pi camera client for Codalata RASP.
Use the normal install if you want to start the camera manually.
Use the service install if you want the camera to start automatically when the Raspberry Pi boots.
git clone https://github.com/xjasz/rasp_cam.git
cd rasp_cam
./install.sh "YOUR_DEVICE_KEY"
./run.shAdd service later after manual install
./install.sh --servicemanual:
git clone https://github.com/xjasz/rasp_cam.git && cd rasp_cam && bash ./install.sh "YOUR_DEVICE_KEY" && bash ./run.shservice:
git clone https://github.com/xjasz/rasp_cam.git && cd rasp_cam && bash ./install.sh "YOUR_DEVICE_KEY" --servicesudo systemctl status codalata-rasp-cam
journalctl -u codalata-rasp-cam -f
sudo systemctl restart codalata-rasp-cam
sudo systemctl stop codalata-rasp-cam
./uninstall_service.shcam_main.py
requirements.txt
install.sh
install_service.sh
uninstall_service.sh
run.sh
scripts/
stop_existing.sh
helpers/
__init__.py
colormod.py
main_logger.py
rasp_servo.py
The installer creates a local .env file:
RASP_DEVICE_KEY=YOUR_DEVICE_KEYThe installer installs the Raspberry Pi camera/OpenCV packages through apt and app-specific Python packages through pip:
python3-picamera2
python3-opencv
python3-numpy
requests
adafruit-circuitpython-servokit