springboot javacv
时间: 2023-10-12 21:08:16 浏览: 160
Springboot中整合javacv的步骤如下:
1. 在Springboot启动类中通过静态代码块的形式导入Opencv的资源文件。需要在VM option中添加-Djava.library.path=$PROJECT_DIR$\opencv\x64来指明opencv的dll文件所在路径。
2. 在pom.xml文件中添加javacv-platform的依赖。
3. 完成以上步骤后,就可以启动整合了javacv的Springboot项目了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [SpringBoot环境下配置Java版OpenCV](https://blog.csdn.net/qq_56781117/article/details/122082896)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [SPRING BOOT集成JAVACV + WEBSOCKET实现实时视频推流回放(延时1-2秒)](https://blog.csdn.net/a332877115/article/details/108157460)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文