-
Notifications
You must be signed in to change notification settings - Fork 637
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
30 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Image support with OpenCV | ||
|
||
This module contains the image support extension with [OpenCV](https://opencv.org/). It is based on the [Java package from OpenPnP](https://github.com/openpnp/opencv). | ||
|
||
Right now, the package provides an `OpenCVImage` that acts as a faster implementation than the native `BufferedImage`. Once this package is added to your classpath, it will automatically be used through the standard DJL `ImageFactory`. | ||
|
||
## Documentation | ||
|
||
You can build the latest javadocs locally using the following command: | ||
|
||
```sh | ||
./gradlew javadoc | ||
``` | ||
The javadocs output is built in the `build/doc/javadoc` folder. | ||
|
||
## Installation | ||
|
||
You can pull the module from the central Maven repository by including the following dependency in your `pom.xml` file: | ||
|
||
```xml | ||
<dependency> | ||
<groupId>ai.djl.opencv</groupId> | ||
<artifactId>opencv</artifactId> | ||
<version>0.14.0</version> | ||
</dependency> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters