Software
PhotonVision
By PhotonVision, from github.com/PhotonVision/photonvision (opens in a new tab)
- Perception
- Tool
- GPL-3.0-only
PhotonVision is a free computer vision program for FIRST Robotics Competition teams, used to process camera images for robots. It comes with a web UI and Java and C++ libraries.
Facts
- GitHub stars
- 440read on 28 Nov 2026
- Last update
- 28 Nov 2026Newest commit on main
- Maintenance
- Activea commit in the last 90 days
- Difficulty
- Beginner
Checked on GitHub on 28 Nov 2026.
Licenses
- Code
- GPL-3.0-only (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (GPL-3.0-only) at commit 28513e8 (opens in a new tab), on 28 Nov 2026.
- Commercial use
- Yes
Copyleft: Modified source must be published.
At a glance
- What it is
- Provides a computer vision solution for FIRST Robotics Competition robots, with a web-based user interface.
- Ships platform-specific jars and images from its releases page.
- Includes Java and C++ example robot projects, some with simulation support.
- Built with Gradle for Java and C++ code and pnpm for the web UI.
- Supports cross-compilation for several target systems, such as Windows, macOS, Linux and linuxathena.
- Relies on out-of-source repositories for base system images, Raspberry Pi CSI camera drivers and NPU bindings.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- GPL-3.0-only. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's website (opens in a new tab)
- Maintenance
- Active, last commit on 28 Nov 2026.
Use it
How to install it, in the creator's words: The project's website (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/PhotonVision/photonvision (opens in a new tab)
- The version Robotheca read28513e8 (opens in a new tab)
- Latest releasev2026.3.4 (10 Apr 2026)
Robotheca read the repository at two versions: the summary at 22b02cb and the facts and the README at 28513e8 (read on 28 Nov 2026).
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by PhotonVision, at commit 28513e8, under GPL-3.0-only (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
PhotonVision
PhotonVision is the free, fast, and easy-to-use computer vision solution for the FIRST Robotics Competition. You can read an overview of our features on our website (opens in a new tab). You can find our comprehensive documentation here (opens in a new tab).
The latest release of platform-specific jars and images is found here (opens in a new tab).
If you are interested in contributing code or documentation to the project, please read our getting started page for contributors (opens in a new tab) and join the Discord (opens in a new tab) to introduce yourself! We hope to provide a welcoming community to anyone who is interested in helping.
Documentation
- Our main documentation page: docs.photonvision.org (opens in a new tab)
- Photon UI demo: demo.photonvision.org (opens in a new tab)
- Javadocs: javadocs.photonvision.org (opens in a new tab)
- C++ Doxygen: cppdocs.photonvision.org (opens in a new tab)
Authors
Image (opens in a new tab) (opens in a new tab)
Building
Gradle is used for all C++ and Java code, and pnpm is used for the web UI. Instructions to compile PhotonVision yourself can be found in our docs (opens in a new tab).
You can run one of the many built in examples straight from the command line, too! They contain a fully featured robot project, and some include simulation support. The projects can be found inside the photonlib-java-examples (opens in a new tab) and photonlib-cpp-examples (opens in a new tab) subdirectories, respectively. Instructions for running these examples directly from the repo are found in the docs (opens in a new tab).
Gradle Arguments
Note that these are case sensitive!
-PArchOverride=foobar: builds for a target system other than your current architecture. Valid overrides (opens in a new tab) are:- winx86-64
- winarm64
- macx86-64
- macarm64
- linuxx86-64
- linuxarm64
- linuxathena
-PtgtIP: Specifies where./gradlew deployshould try to copy the fat JAR to-PtgtUser: Specifies custom username for./gradlew deployto SSH into-PtgtPw: Specifies custom password for./gradlew deployto SSH into-Pprofile: enables JVM profiling-PwithSanitizers: On Linux, enables-fsanitize=address,undefined,leak
If you're cross-compiling, you'll need the WPILib toolchain installed. This must be done via Gradle: for example ./gradlew installArm64Toolchain or ./gradlew installSystemCoreToolchain
Out-of-Source Dependencies
PhotonVision uses the following additional out-of-source repositories for building code.
- Base system images for supported coprocessors: https://github.com/PhotonVision/photon-image-modifier (opens in a new tab)
- C++ driver for Raspberry Pi CSI cameras: https://github.com/PhotonVision/photon-libcamera-gl-driver (opens in a new tab)
- JNI code for mrcal (opens in a new tab): https://github.com/PhotonVision/mrcal-java (opens in a new tab)
- JNI code for RKNN: https://github.com/PhotonVision/rknn_jni (opens in a new tab)
- JNI code for Rubik Pi NPU: https://github.com/PhotonVision/rubik_jni (opens in a new tab)
Acknowledgments
PhotonVision was forked from Chameleon Vision (opens in a new tab). Thank you to everyone who worked on the original project.
- WPILib (opens in a new tab) - Specifically allwpilib (opens in a new tab) and their build of OpenCV (opens in a new tab).
- Apache Commons (opens in a new tab) - Specifically Commons IO (opens in a new tab)
- picocli (opens in a new tab)
- diozero (opens in a new tab)
- EJML (opens in a new tab)
- Javalin (opens in a new tab)
- JSON (opens in a new tab)
- Avaje (opens in a new tab) - Specifically jsonb (opens in a new tab)
- MessagePack for Java (opens in a new tab)
- OSHI (opens in a new tab)
- QuickBuffers (opens in a new tab)
- SQLite JDBC (opens in a new tab)
- ZT ZIP (opens in a new tab)
License
PhotonVision is licensed under the GNU General Public License (opens in a new tab).
Meeting Notes
Our meeting notes (opens in a new tab) can be found in the wiki section of this repository.
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.