Skip to content

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

Facts read at commit 28513e8

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

(opens in a new tab)

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
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 deploy should try to copy the fat JAR to
  • -PtgtUser: Specifies custom username for ./gradlew deploy to SSH into
  • -PtgtPw: Specifies custom password for ./gradlew deploy to 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.

Acknowledgments

PhotonVision was forked from Chameleon Vision (opens in a new tab). Thank you to everyone who worked on the original project.

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.