Add real-time image processing to a Java or Android app using OpenCV without installing native libraries separately
Encode, decode, or transcode video files in a Java application using FFmpeg via a single Maven dependency
Calibrate a camera or projector geometrically in a Java program using the built-in utility classes
Access video frames from industrial cameras or depth sensors like Intel RealSense from a Java application
Add one Maven or Gradle dependency to get pre-built native binaries, optional hardware like PlayStation Eye camera needs extra drivers on Windows.
JavaCV is a Java library that makes it possible to use computer vision and multimedia tools from Java programs. It wraps well-known native libraries like OpenCV (image processing) and FFmpeg (video encoding and decoding) so that Java developers can call their functions without dealing with the underlying C or C++ code directly. Beyond OpenCV and FFmpeg, the library also covers less common hardware: industrial cameras from FLIR, depth sensors like the Intel RealSense and Kinect, PlayStation Eye cameras, and projector-camera calibration systems. On top of those native library wrappers, JavaCV adds its own utility classes for common tasks including displaying images on screen with hardware acceleration, running processing steps in parallel across CPU cores, calibrating cameras and projectors geometrically, detecting and matching visual features in images, and analyzing connected regions of pixels. You can add JavaCV to a Java project through Maven, Gradle, Leiningen, or sbt by adding one dependency line to your build configuration. The platform dependency pulls in pre-built binaries for Android, iOS, Linux, macOS, and Windows, so there is no separate native library installation step. If you only need one platform, you can narrow the download with a system property. The minimum requirement is Java SE 8. A few optional features need extra SDKs (the Android SDK, or a PlayStation Eye driver on Windows), but the core functionality works with a standard Java installation. The project includes sample programs in the repository, including Android examples, to serve as a starting point. The README notes that formal API documentation is currently lacking, so the samples and source code of companion projects are the main reference for learning the API.
← bytedeco on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.