Skip to content

Instantly share code, notes, and snippets.

@bsharper
Created June 8, 2024 20:12
Show Gist options
  • Save bsharper/44f0f0b76793c07c749ea6cedad49828 to your computer and use it in GitHub Desktop.
Save bsharper/44f0f0b76793c07c749ea6cedad49828 to your computer and use it in GitHub Desktop.
Setup script for 16MP camera (IMX519) on Raspberry Pi (bookworm)
#!/bin/bash
# Default config seems to work properly w/ libcamera apps
# But autofocus doesn't work until this is run.
wget -O install_pivariety_pkgs.sh https://github.com/ArduCAM/Arducam-Pivariety-V4L2-Driver/releases/download/install_script/install_pivariety_pkgs.sh
chmod +x install_pivariety_pkgs.sh
sudo ./install_pivariety_pkgs.sh -p libcamera_dev
sudo ./install_pivariety_pkgs.sh -p libcamera_apps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment