<meter id="pryje"><nav id="pryje"><delect id="pryje"></delect></nav></meter>
          <label id="pryje"></label>

          新聞中心

          EEPW首頁(yè) > 智能計(jì)算 > 進(jìn)階指南 > openvino環(huán)境搭建

          openvino環(huán)境搭建

          作者:張金玉 時(shí)間:2020-04-13 來(lái)源:CSDN 收藏

          _ 配置

          本文引用地址:http://www.ex-cimer.com/article/202004/411930.htm

          安裝1---> anaconda3 

          2--->Cmake 

          3--->visual studio 

          4--->_toolkit軟件安裝完成之后

          _toolkit所有都安裝在C:Intel目錄下

          python3.6.5/python3.7

          VS2015/VS2017

          (1)

          C:UsersAdministrator>cd C:Intelopenvino_2019.1.148bin

          C:Intelopenvino_2019.1.148bin> setupvars.bat

          (2)

          C:Intelopenvino_2019.1.148bin> cd C:Intelopenvino_2019.1.148deployment_toolsdemo

          C:Intelopenvino_2019.1.148deployment_toolsdemo> demo_security_barrier_camera.bat

          最后運(yùn)行結(jié)果為成功

          ###############|| Demo completed successfully ||###############

          C:Intelopenvino_2019.1.148deployment_toolsdemo>

          配置開(kāi)發(fā)環(huán)境2--->

          1 創(chuàng)建新項(xiàng)目-> 空項(xiàng)目->項(xiàng)目名稱(openvino_test 將解決方案和項(xiàng)目放在同一目錄中)

          2 解決方案資源管理器->openvino_test的源文件->右鍵(添加,新建項(xiàng))->(C++文件,名字main.cpp)

          3 生成和調(diào)試下面選擇Debug和x64

          4 視圖->其它窗口->屬性管理器(最右邊openvino_test->Debug|x64 ->Microsoft.Cpp.x64.user->右鍵屬性)

          5 VC++目錄->

          5.1包含目錄

          C:Intelopenvino_2019.1.148deployment_toolsinference_enginesrcextension

          C:Intelopenvino_2019.1.148deployment_toolsinference_enginesamplescommonformat_reader

          C:Intelopenvino_2019.1.148deployment_toolsinference_engineinclude

          C:Intelopenvino_2019.1.148opencvinclude

          C:Intelopenvino_2019.1.148opencvincludeopencv2

          5.2庫(kù)目錄

          C:Intelopenvino_2019.1.148opencvlib

          C:Intelopenvino_2019.1.148deployment_toolsinference_enginelibintel64Debug

          C:UsersAdministratorDocumentsIntelOpenVINOinference_engine_samples_buildintel64Debug

          還需要一個(gè)CPU擴(kuò)展,具體做法如下

          C:UsersAdministrator> cd C:Intelopenvino_2019.1.148deployment_toolsinference_enginesamples

          C:Intelopenvino_2019.1.148deployment_toolsinference_enginesamples> build_samples_msvc.bat

          會(huì)把build的結(jié)果放入到C:UsersAdministratorDocumentsIntelOpenVINOinference_engine_samples_build中

          生成一個(gè)Samples.sln雙擊用Visual Studio 打開(kāi)

          之后再解決方案資源管理器中的(解決方案Samples 點(diǎn)擊右鍵->生成解決方案)

          生成的文件C:UsersAdministratorDocumentsIntelOpenVINOinference_engine_samples_buildintel64Debug中

          有個(gè)cpu_extension.lib非常重要(做了半天就是為了cpu_extension.lib這個(gè)文件)  

          5.3鏈接器->輸入->附加依賴項(xiàng)中添加

          opencv_world410d.lib

          opencv_pvl410d.lib

          inference_engined.lib

          cpu_extension.lib

          format_reader.lib   

          6配置系統(tǒng)環(huán)境變量

          我的電腦右鍵->高級(jí)系統(tǒng)設(shè)置->環(huán)境變量->系統(tǒng)變量->PATH

          C:Intelopenvinoopencvbin

          C:Intelopenvino_2019.1.148deployment_toolsinference_enginebinintel64Debug

          C:Intelopenvino_2019.1.148deployment_toolsinference_enginebinintel64Release

          C:UsersAdministratorDocumentsIntelOpenVINOinference_engine_samples_buildintel64Debug

          C:UsersAdministratorDocumentsIntelOpenVINOinference_engine_samples_buildintel64Release

          7重新啟動(dòng)Visual Studio2019

          版權(quán)聲明:本文為CSDN博主「張金玉」的原創(chuàng)文章,遵循 CC 4.0 BY-SA 版權(quán)協(xié)議,轉(zhuǎn)載請(qǐng)附上原文出處鏈接及本聲明。

          原文鏈接:https://blog.csdn.net/xsjzdrxsjzdr/java/article/details/92249610



          想要查看更多OpenVINO相關(guān)技術(shù)與資料,請(qǐng)戳>> http://www.ex-cimer.com/openvino



          評(píng)論


          相關(guān)推薦

          技術(shù)專區(qū)

          關(guān)閉
          看屁屁www成人影院,亚洲人妻成人图片,亚洲精品成人午夜在线,日韩在线 欧美成人 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();