1.前往官網下載https://opencv.org/releases/

2,解壓到指定檔案夾
3.找到目錄下的jar包進行安裝到本地maven庫
mvn install:install-file -Dfile=D:\opencv-320.jar -DgroupId=org.opencv -DartifactId=opencv -Dversion=3.2.0-RELEASE -Dpackaging=jar
4.在springboot專案中引入
<dependency>
<groupId>org.opencv</groupId>
<artifactId>opencv</artifactId>
<version>3.2.0-RELEASE</version>
</dependency>
5.編輯springboot類的VM配置,指定opencv_java320.dll檔案所在的目錄


配置到此完成,接下來就能愉快的使用open從cv了
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/295281.html
標籤:其他
上一篇:RM裝甲識別程式再分析(一)
