Fork me on GitHub

Second release at Bytedeco

July 27, 2014

Today marks the second release at version 0.9 of the software suite at Bytedeco: JavaCPP, JavaCPP Presets, JavaCV, ProCamCalib, and ProCamTracker. Please click on the appropriate link to download and obtain more information about the changes that occurred in your favorite project.

For this release, we have been striving to add a few more C/C++ libraries that are frequently used to the set of modules under the JavaCPP Presets. I am thus happy to announce that the following new libraries are now supported:

Using any of those libraries on the Java platform is now as easy and as efficient as using JavaCV to access the functionality of OpenCV, as it has always been even before the switch to the JavaCPP Presets. For example, in the case of Tesseract, the first example on the APIExample wiki page maps to Java as follows:

import org.bytedeco.javacpp.*;
import static org.bytedeco.javacpp.lept.*;
import static org.bytedeco.javacpp.tesseract.*;

public class TesseractDemo {
    public static void main(String[] args) {
        BytePointer outText;

        TessBaseAPI api = new TessBaseAPI();
        // Initialize tesseract-ocr with English, without specifying tessdata path
        if (api.Init(null, "eng") != 0) {
            System.err.println("Could not initialize tesseract.");

        // Open input image with leptonica library
        PIX image = pixRead("/usr/share/doc/tesseract/phototest.tif");
        // Get OCR result
        outText = api.GetUTF8Text();
        System.out.println("OCR output:\n" + outText.getString());

        // Destroy used object and release memory

Furthermore, Jarek Sacha has prepared examples for FlyCapture 2 (that now also runs under Linux, in addition to Windows) and flandmark as part of the JavaCV Examples repository:

If you have any questions, problems, or would like to contribute, but are unsure how to proceed, please feel free to share your concerns on the mailing list or via “issues” on GitHub. Enjoy and thank you for your interest!


To add a comment, please edit the comments file and send a pull request!