|
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
<parent>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
|
|
|
<version>3.2.0</version>
|
|
|
|
|
|
<relativePath/>
|
|
|
|
|
|
</parent>
|
|
|
|
|
|
<groupId>com.example</groupId>
|
|
|
|
|
|
<artifactId>LxCameraApi</artifactId>
|
|
|
|
|
|
<version>1.0.1-SNAPSHOT</version>
|
|
|
|
|
|
<name>LxCameraApi</name>
|
|
|
|
|
|
<description>LxCameraApi</description>
|
|
|
|
|
|
<url/>
|
|
|
|
|
|
<licenses>
|
|
|
|
|
|
<license/>
|
|
|
|
|
|
</licenses>
|
|
|
|
|
|
<developers>
|
|
|
|
|
|
<developer/>
|
|
|
|
|
|
</developers>
|
|
|
|
|
|
<scm>
|
|
|
|
|
|
<connection/>
|
|
|
|
|
|
<developerConnection/>
|
|
|
|
|
|
<tag/>
|
|
|
|
|
|
<url/>
|
|
|
|
|
|
</scm>
|
|
|
|
|
|
<properties>
|
|
|
|
|
|
<java.version>21</java.version>
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.bytedeco</groupId>
|
|
|
|
|
|
<artifactId>javacpp</artifactId>
|
|
|
|
|
|
<version>1.5.7</version>
|
|
|
|
|
|
<classifier>windows-x86_64</classifier>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.bytedeco</groupId>
|
|
|
|
|
|
<artifactId>openblas</artifactId>
|
|
|
|
|
|
<version>0.3.19-1.5.7</version>
|
|
|
|
|
|
<classifier>windows-x86_64</classifier>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.bytedeco</groupId>
|
|
|
|
|
|
<artifactId>opencv</artifactId>
|
|
|
|
|
|
<version>4.5.5-1.5.7</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.bytedeco</groupId>
|
|
|
|
|
|
<artifactId>opencv</artifactId>
|
|
|
|
|
|
<version>4.5.5-1.5.7</version>
|
|
|
|
|
|
<classifier>windows-x86_64</classifier>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-web-services</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.microsoft.onnxruntime</groupId>
|
|
|
|
|
|
<artifactId>onnxruntime</artifactId>
|
|
|
|
|
|
<version>1.19.0</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.sun.jna</groupId>
|
|
|
|
|
|
<artifactId>jna</artifactId>
|
|
|
|
|
|
<version>1.0</version>
|
|
|
|
|
|
<scope>system</scope>
|
|
|
|
|
|
<systemPath>${project.basedir}/src/main/resources/libs/jna.jar</systemPath>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.sun.jna.examples</groupId>
|
|
|
|
|
|
<artifactId>test</artifactId>
|
|
|
|
|
|
<version>1.0</version>
|
|
|
|
|
|
<scope>system</scope>
|
|
|
|
|
|
<systemPath>${project.basedir}/src/main/resources/libs/examples.jar</systemPath>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
|
<version>1.18.30</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- SpringDoc OpenAPI 依赖(替代SpringFox) -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springdoc</groupId>
|
|
|
|
|
|
<artifactId>springdoc-openapi-ui</artifactId>
|
|
|
|
|
|
<version>1.6.15</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
|
|
<version>5.8.16</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>MvCameraControlWrapper</groupId>
|
|
|
|
|
|
<artifactId>MvCameraControlWrapper</artifactId>
|
|
|
|
|
|
<version>1.0</version>
|
|
|
|
|
|
<scope>system</scope>
|
|
|
|
|
|
<systemPath>${project.basedir}/src/main/resources/libs/MvCameraControlWrapper.jar</systemPath>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.google.zxing</groupId>
|
|
|
|
|
|
<artifactId>javase</artifactId>
|
|
|
|
|
|
<version>3.5.0</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org</groupId>
|
|
|
|
|
|
<artifactId>opencv</artifactId>
|
|
|
|
|
|
<scope>system</scope>
|
|
|
|
|
|
<version>1.0</version>
|
|
|
|
|
|
<systemPath>${project.basedir}/src/main/resources/libs/opencv-480.jar</systemPath>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <dependency>-->
|
|
|
|
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
|
|
|
|
<!-- <artifactId>spring-boot-starter-test</artifactId>-->
|
|
|
|
|
|
<!-- <scope>test</scope>-->
|
|
|
|
|
|
<!-- </dependency>-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>net.java.dev.jna</groupId>
|
|
|
|
|
|
<artifactId>jna</artifactId>
|
|
|
|
|
|
<version>5.13.0</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Spring Boot AOP依赖 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<includeSystemScope>true</includeSystemScope>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
|
|
<version>3.11.0</version>
|
|
|
|
|
|
<configuration>
|
|
|
|
|
|
<source>21</source>
|
|
|
|
|
|
<target>21</target>
|
|
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
|
|
<annotationProcessorPaths>
|
|
|
|
|
|
<path>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
|
<version>1.18.30</version>
|
|
|
|
|
|
</path>
|
|
|
|
|
|
</annotationProcessorPaths>
|
|
|
|
|
|
</configuration>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|