57 Star 491 Fork 10

ZZU / yolo-onnx-java

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pom.xml 2.23 KB
一键复制 编辑 原始数据 按行查看 历史
常康 提交于 2024-01-03 09:52 . 修改隐藏文件后缀
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>cn.changakng</groupId>
<artifactId>yolo-onnx-java</artifactId>
<version>1.0</version>
<properties>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>com.microsoft.onnxruntime</groupId>
<artifactId>onnxruntime</artifactId>
<version>1.16.1</version>
</dependency>
<!-- <dependency> 切换gpu后一定要maven update,否则会报错 onnxruntime 和 onnxruntime_gpu不能同时使用,使用这个请注释上面那个
<groupId>com.microsoft.onnxruntime</groupId>
<artifactId>onnxruntime_gpu</artifactId>
<version>1.16.1</version>
</dependency>-->
<!--
本质上是使用opencv 和 ffmpeg
用 javacv-platform 和 ffmpeg-platform 两个pom依赖,可以完全摆脱,dll和so依赖库,不需要引入任何外部依赖,真正做到linux上可运行,但是这两个库大小2-3G,可以缩小有兴趣自己研究。
https://blog.csdn.net/boling_cavalry/article/details/119062543
https://blog.csdn.net/eguid_1/article/details/117277841
https://www.ithere.net/article/1486255614874501122
-->
<!-- <dependency>
<groupId>org.bytedeco</groupId>
<artifactId>javacv-platform</artifactId>
<version>1.5.7</version>
</dependency> -->
<dependency>
<groupId>org.openpnp</groupId>
<artifactId>opencv</artifactId>
<version>4.7.0-0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>2.7.18-SNAPSHOT</version> <!-- 如果报错就注释 这个版本号 -->
</plugin>
</plugins>
</build>
</project>
Java
1
https://gitee.com/agricultureiot/yolo-onnx-java.git
git@gitee.com:agricultureiot/yolo-onnx-java.git
agricultureiot
yolo-onnx-java
yolo-onnx-java
master

搜索帮助