Skip to content

quarkiverse/quarkus-opencv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quarkus - OpenCV

Version

All Contributors

Introduction

With this Quarkus extension, you can use OpenCV in native executables generated by GraalVM.

<dependency>
    <groupId>io.quarkiverse.opencv</groupId>
    <artifactId>quarkus-opencv</artifactId>
    <version>LATEST</version>
</dependency>

The OpenCV library is loaded automatically when starting your application so you don't need to load it yourself.

Going native

Quarkus OpenCV supports creating native executables with Mandrel/GraalVM.

However, given how the OpenCV library is copied to a temporary location by the OpenPnP packaging, you might need to pass the -XX:MaxDirectMemorySize=128m option to the native executable.

This issue will be solved in Java 22.

Compatibility

Quarkus Quarkus OpenCV
3.x 2.x
2.x 1.x

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Guillaume Smet

💻 🚧

This project follows the all-contributors specification. Contributions of any kind welcome!