1
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -42,7 +42,7 @@
|
||||
<dependency>
|
||||
<groupId>org.bytedeco</groupId>
|
||||
<artifactId>javacv-platform</artifactId>
|
||||
<version>1.5.10</version> <!-- 版本号需与项目兼容 -->
|
||||
<version>1.5.12</version> <!-- 版本号需与项目兼容 -->
|
||||
</dependency>
|
||||
<!-- SpringBoot的依赖配置-->
|
||||
<dependency>
|
||||
|
||||
@@ -35,7 +35,12 @@
|
||||
<dependency>
|
||||
<groupId>org.bytedeco</groupId>
|
||||
<artifactId>javacv-platform</artifactId>
|
||||
<version>1.5.11</version>
|
||||
<version>1.5.12</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.bytedeco</groupId>
|
||||
<artifactId>opencv-platform</artifactId>
|
||||
<version>4.11.0-1.5.12</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 解析 models.json-->
|
||||
|
||||
@@ -39,7 +39,7 @@ public final class OnnxYoloDetector implements YoloDetector {
|
||||
} else {
|
||||
this.classes = new String[0];
|
||||
}
|
||||
|
||||
System.out.println("CV_VERSION = " + CV_VERSION);
|
||||
try {
|
||||
// 加载ONNX模型
|
||||
this.net = readNetFromONNX(onnx);
|
||||
|
||||
Reference in New Issue
Block a user