Photon Vision on the Raspberry Pi
Links
Pi Setup Steps
- Download the Raspberry Pi Imager software
- Go to File Explorer and find your downloads
- Open the Raspberry Pi Imager software and install it
- Choose the Raspberry Pi 4 and the 64-bit Raspberry Pi OS
- When prompted click edit options and use these

- Use a tool like Pingtools to find the IP address of the Pi
- Use and SSH tool like PuTTy to connect to the Pi
- Run system update commands
sudo apt updatesudo apt dist-upgrade -y- Install Java Development Kit
sudo apt install -y openjdk-17-jdk-headless
PhotonVision Setup Steps
- Go to this website (https://docs.photonvision.org/en/latest/docs/getting-started/installation/sw_install/other-coprocessors.html) and follow insructions there
Setting up Camera
- Find IP address that the Pi is using.
- To do that, you can use Angry IP Scanner and change the IP range to 10.17.47.0 - 10.17.46.255
- After that, press start and wait for it to finish finding the different IP addresses.
-
Once it finishes, press the Port button at the top and then press "Sort Port Directions", then it'll tell you exactly what IP address the Pi is on.
-
Go into a browser window and start typing "HTTP://" and then the IP address that came up on Angry IP Scanner.
-
Calibrate the camera using the Photonvision website.
- Go into the Camera tab and make sure it's the correct camera and set the resolution to 1280 x 800.
- Download the target and print it out, or use the one from the notebook.
- use the checkerboard-looking page to test the camera and to calibrate it
- take at least 12 shots of the page and then finish the calibration
- go into the Dashboard tab and create an April Tag in the type of Pipeline and set it to 3D mode