MCPcopy Index your code
hub / github.com/bytedeco/javacpp-presets

github.com/bytedeco/javacpp-presets @1.5.13

Chat with this repo
repository ↗ · DeepWiki ↗ · release 1.5.13 ↗ · + Follow
173,677 symbols 229,495 edges 12,204 files 45,105 documented · 26%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

JavaCPP Presets

Gitter Maven Central Sonatype Nexus (Snapshots)
Build status for all platforms (Android, iOS, Linux, Mac OS X, Windows): opencv ffmpeg flycapture spinnaker libdc1394 libfreenect libfreenect2 librealsense librealsense2 videoinput artoolkitplus chilitags flandmark arrow hdf5 hyperscan lz4 mkl mkl-dnn dnnl openblas arpack-ng cminpack fftw gsl cpython numpy scipy gym llvm libffi libpostal libraw leptonica tesseract caffe openpose cuda nvcodec opencl mxnet pytorch sentencepiece tensorflow tensorflow-lite tensorrt tritonserver ale depthai onnx ngraph onnxruntime tvm bullet liquidfun qt skia cpu_features modsecurity systems
Commercial support and paid services for custom presets: xscode

Introduction

The JavaCPP Presets modules contain Java configuration and interface classes for widely used C/C++ libraries. The configuration files in the org.bytedeco.<moduleName>.presets packages are used by the Parser to create from C/C++ header files the Java interface files targeting the org.bytedeco.<moduleName> packages, which in turn are used by the Generator and the native C++ compiler to produce the required JNI libraries. Moreover, helper classes make their functionality easier to use on the Java platform, including Android.

For orientation purposes, the documentation of this repository can be thought of as being split into 2 levels:

  1. The directory where this parent README.md document is located belongs to the upper level, the javacpp-presets module itself, and
  2. The subdirectories in it are the actual child modules, with their README.md files, presets, and packages, as the lower level.

This parent README.md file contains general information applicable to all modules to solve issues concerning downloads, common requirements, installation procedures, and build instructions. The respective README.md files in each subdirectory contain extra information, links, and notes concerning API documentation, specific requirements, dependencies for pom.xml files, and sample usage code, for the presets and packages of each module. Please be aware that not all of the presets have the same level of maturity, and the style and layout may also differ from one to another since they are based on the APIs of third-party libraries.

Please refer to the wiki page for more information about how to create new presets. Since additional documentation is currently lacking, please also feel free to ask questions on the mailing list or the discussion forum.

Downloads

JAR files containing binaries for all child modules and builds for all supported platforms (Android, iOS, Linux, Mac OS X, and Windows) can be obtained from the Maven Central Repository. Archives containing these JAR files are also available as releases.

To install manually the JAR files, follow the instructions in the Manual Installation section below.

We can also have everything downloaded and installed automatically with:

  • Maven (inside the pom.xml file)
  <dependency>
    <groupId>org.bytedeco</groupId>
    <artifactId>${moduleName}-platform</artifactId>
    <version>${moduleVersion}-1.5.13</version>
  </dependency>
  • Gradle (inside the build.gradle.kts o

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 159,149
Class 13,963
Enum 539
Function 24
Interface 2

Languages

Java100%
C++1%
Python1%

Modules by API surface

gsl/src/gen/java/org/bytedeco/gsl/global/gsl.java4,885 symbols
leptonica/src/gen/java/org/bytedeco/leptonica/global/leptonica.java2,756 symbols
llvm/src/gen/java/org/bytedeco/llvm/global/LLVM.java1,433 symbols
cpython/src/gen/java/org/bytedeco/cpython/global/python.java1,339 symbols
spinnaker/src/gen/java/org/bytedeco/spinnaker/global/Spinnaker_C.java1,179 symbols
cuda/src/gen/java/org/bytedeco/cuda/global/npps.java892 symbols
cuda/src/gen/java/org/bytedeco/cuda/global/cublas.java806 symbols
ffmpeg/src/gen/java/org/bytedeco/ffmpeg/global/avutil.java765 symbols
tensorflow/src/gen/java/org/bytedeco/tensorflow/global/tensorflow.java755 symbols
skia/src/gen/java/org/bytedeco/skia/global/Skia.java724 symbols
bullet/src/gen/java/org/bytedeco/bullet/BulletSoftBody/btSoftBody.java720 symbols
opencv/src/gen/java/org/bytedeco/opencv/global/opencv_core.java696 symbols

For agents

$ claude mcp add javacpp-presets \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page