287 lines
8.9 KiB
XML
287 lines
8.9 KiB
XML
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>com.ruoyi</groupId>
|
|
<artifactId>ruoyi</artifactId>
|
|
<version>3.4.0</version>
|
|
</parent>
|
|
<artifactId>luqj-djl</artifactId>
|
|
<version>3.4.0</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>luqj-djl</name>
|
|
<url>http://maven.apache.org</url>
|
|
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<djl.version>0.34.0</djl.version>
|
|
<smartjavaai.version>1.1.0</smartjavaai.version>
|
|
<javacv.version>1.5.11</javacv.version>
|
|
|
|
<javacv.platform.macosx-arm64>macosx-arm64</javacv.platform.macosx-arm64>
|
|
<javacv.platform.linux-x86_64>linux-x86_64</javacv.platform.linux-x86_64>
|
|
<javacv.platform.linux-arm64>linux-arm64</javacv.platform.linux-arm64>
|
|
<javacv.platform.windows-x86_64>windows-x86_64</javacv.platform.windows-x86_64>
|
|
|
|
|
|
<djl.platform.windows-x86_64>win-x86_64</djl.platform.windows-x86_64>
|
|
<djl.platform.linux-x86_64>linux-x86_64</djl.platform.linux-x86_64>
|
|
<djl.platform.linux-aarch64>linux-aarch64</djl.platform.linux-aarch64>
|
|
<djl.platform.osx-aarch64>osx-aarch64</djl.platform.osx-aarch64>
|
|
</properties>
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>ai.djl</groupId>
|
|
<artifactId>bom</artifactId>
|
|
<version>${djl.version}</version>
|
|
<type>pom</type>
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>cn.smartjavaai</groupId>
|
|
<artifactId>bom</artifactId>
|
|
<version>${smartjavaai.version}</version>
|
|
<type>pom</type>
|
|
<!-- 注意这里是import -->
|
|
<scope>import</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.microsoft.onnxruntime</groupId>
|
|
<artifactId>onnxruntime</artifactId>
|
|
<version>1.16.3</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
<dependencies>
|
|
<!--OCR检测模块-->
|
|
<dependency>
|
|
<groupId>cn.smartjavaai</groupId>
|
|
<artifactId>ocr</artifactId>
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
<groupId>ai.djl.pytorch</groupId>
|
|
<artifactId>pytorch-jni</artifactId>
|
|
<version>2.7.1-0.34.0</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
|
|
<!-- windows平台 (保留对应平台的配置,可以减小包大小)-->
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>javacpp</artifactId>
|
|
<version>${javacv.version}</version>
|
|
<classifier>${javacv.platform.windows-x86_64}</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>ffmpeg</artifactId>
|
|
<version>7.1-1.5.11</version>
|
|
<classifier>${javacv.platform.windows-x86_64}</classifier>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>openblas</artifactId>
|
|
<version>0.3.26-1.5.10</version>
|
|
<classifier>${javacv.platform.windows-x86_64}</classifier>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>opencv</artifactId>
|
|
<version>4.9.0-1.5.10</version>
|
|
<classifier>${javacv.platform.windows-x86_64}</classifier>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ai.djl.pytorch</groupId>
|
|
<artifactId>pytorch-native-cpu</artifactId>
|
|
<classifier>${djl.platform.windows-x86_64}</classifier>
|
|
<version>2.7.1</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- linux x86 平台 (保留对应平台的配置,可以减小包大小)-->
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>javacpp</artifactId>
|
|
<version>${javacv.version}</version>
|
|
<classifier>${javacv.platform.linux-x86_64}</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>ffmpeg</artifactId>
|
|
<version>7.1-1.5.11</version>
|
|
<classifier>${javacv.platform.linux-x86_64}</classifier>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>openblas</artifactId>
|
|
<version>0.3.26-1.5.10</version>
|
|
<classifier>${javacv.platform.linux-x86_64}</classifier>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>opencv</artifactId>
|
|
<version>4.9.0-1.5.10</version>
|
|
<classifier>${javacv.platform.linux-x86_64}</classifier>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ai.djl.pytorch</groupId>
|
|
<artifactId>pytorch-native-cpu</artifactId>
|
|
<classifier>${djl.platform.linux-x86_64}</classifier>
|
|
<version>2.7.1</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
<!-- linux aarch64 平台 (保留对应平台的配置,可以减小包大小)-->
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>javacpp</artifactId>
|
|
<version>${javacv.version}</version>
|
|
<classifier>${javacv.platform.linux-arm64}</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>ffmpeg</artifactId>
|
|
<version>7.1-1.5.11</version>
|
|
<classifier>${javacv.platform.linux-arm64}</classifier>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>openblas</artifactId>
|
|
<version>0.3.26-1.5.10</version>
|
|
<classifier>${javacv.platform.linux-arm64}</classifier>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>opencv</artifactId>
|
|
<version>4.9.0-1.5.10</version>
|
|
<classifier>${javacv.platform.linux-arm64}</classifier>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ai.djl.pytorch</groupId>
|
|
<artifactId>pytorch-native-cpu</artifactId>
|
|
<classifier>${djl.platform.linux-aarch64}</classifier>
|
|
<version>2.7.1</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
|
|
|
|
<!-- macOS M系列 平台 (保留对应平台的配置,可以减小包大小)-->
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>javacpp</artifactId>
|
|
<version>${javacv.version}</version>
|
|
<classifier>${javacv.platform.macosx-arm64}</classifier>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>ffmpeg</artifactId>
|
|
<version>7.1-1.5.11</version>
|
|
<classifier>${javacv.platform.macosx-arm64}</classifier>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>openblas</artifactId>
|
|
<version>0.3.26-1.5.10</version>
|
|
<classifier>${javacv.platform.macosx-arm64}</classifier>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.bytedeco</groupId>
|
|
<artifactId>opencv</artifactId>
|
|
<version>4.9.0-1.5.10</version>
|
|
<classifier>${javacv.platform.macosx-arm64}</classifier>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ai.djl.pytorch</groupId>
|
|
<artifactId>pytorch-native-cpu</artifactId>
|
|
<classifier>${djl.platform.osx-aarch64}</classifier>
|
|
<version>2.7.1</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ai.djl</groupId>
|
|
<artifactId>api</artifactId>
|
|
<version>0.34.0</version>
|
|
</dependency>
|
|
|
|
<!-- PyTorch 引擎 -->
|
|
<dependency>
|
|
<groupId>ai.djl.pytorch</groupId>
|
|
<artifactId>pytorch-engine</artifactId>
|
|
<version>0.34.0</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>ai.djl</groupId>
|
|
<artifactId>api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ai.djl</groupId>
|
|
<artifactId>basicdataset</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ai.djl</groupId>
|
|
<artifactId>model-zoo</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ai.djl.timeseries</groupId>
|
|
<artifactId>timeseries</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ai.djl.huggingface</groupId>
|
|
<artifactId>tokenizers</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ai.djl.audio</groupId>
|
|
<artifactId>audio</artifactId>
|
|
</dependency>
|
|
<!-- MXNet -->
|
|
<dependency>
|
|
<groupId>ai.djl.mxnet</groupId>
|
|
<artifactId>mxnet-model-zoo</artifactId>
|
|
</dependency>
|
|
<!-- Pytorch -->
|
|
<dependency>
|
|
<groupId>ai.djl.pytorch</groupId>
|
|
<artifactId>pytorch-model-zoo</artifactId>
|
|
</dependency>
|
|
<!-- TensorFlow -->
|
|
<dependency>
|
|
<groupId>ai.djl.tensorflow</groupId>
|
|
<artifactId>tensorflow-model-zoo</artifactId>
|
|
</dependency>
|
|
<!-- ONNXRuntime -->
|
|
<dependency>
|
|
<groupId>ai.djl.onnxruntime</groupId>
|
|
<artifactId>onnxruntime-engine</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.hankcs</groupId>
|
|
<artifactId>hanlp</artifactId>
|
|
<version>portable-1.8.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework</groupId>
|
|
<artifactId>spring-context</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
</project>
|