1
This commit is contained in:
@@ -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