This project contains Python scripts that can be used to run a CV2 Pipeline via the FRC Vision Raspberry Pi Image. This web console can be accessed by opening a web browser to http://wpilibpi.local or http://PI_IP_ADDRESS
(replacing PI_IP_ADDRESS with the local IP address of the pi).
For Raspberry Pi setup instructions, see the Official FRC Raspberry Pi Documentation.
The src/main.py
script should be uploaded to the Raspberry Pi using the FRC Vision web console. Navigate to the "Application" tab and select the "Uploaded Python file" option.
The entire src/vision
directory should be manually uploaded to the /home/pi/
directory of the Raspberry Pi. This can be done using a tool like WinSCP to copy files from your computer to the Pi.
Camera configuration files and Pipelines are located in the resources folder of this repository.
Output streams can be viewed by opening: http://wpilibpi.local:1181/stream.mjpg in a web browser (your computer must be connected to robot wifi/ethernet).
If not connected to the robot, the stream can be viewed at:
http://PI_IP_ADDRESS:1181/stream.mjpg
(replacing PI_IP_ADDRESS
with the local IP address of the pi).