Intel 神經計算棒NCS2簡介英特爾NCS 2由最新一代的英特爾VPU(視覺處理單元)支持–英特爾Movidius Myriad X VPU。這是第一個具有神經計算引擎的VPU,可提供額外的性能。諸如Caffe,Tensor Flow或MXNet之類的深度學習神經網絡可以與NCS2上的OpenVINO工具包集成。這些機器學習框架針對全新的深度神經網絡(DNN)推理引擎進行了優化,該引擎提供的性能是前一代的八倍。
借助電腦和Intel NCS2,開發人員可以啟動其AI和計算機視覺應用的開發,並在幾分鐘內執行。英特爾NCS2在標準USB 3.0上運行,不需要其他硬體,從而使用戶能夠無縫轉換由電腦訓練好的模型,然後將其部署到各種邊緣設備而不需連網或連雲。無論是開發智能相機,具有手勢識別功能的無人機,工業機器人,還是下一代智能家居設備,英特爾神經計算棒2都能為開發人員提供更快原型所需的功能
圖1.收到英特爾神經計算棒
![NCS2 A.jpg NCS2 A.jpg](https://static.assets-stash.eet-china.com/forum/202109/30/153801v0xxcw26o0ittbft.jpg)
圖2.英特爾神經棒
![NCS2.png NCS2.png](https://static.assets-stash.eet-china.com/forum/202109/30/152952ucxffrrjt9extjeg.png)
圖3.測試系統
![3.IPC.jpg 3.IPC.jpg](https://static.assets-stash.eet-china.com/forum/202109/30/161637zg6g4w6omwgb3e3q.jpg)
1. IPC:ARK-2250 Intel Core i5-6300U Processor2. 作業系統: Windows 103. 記憶體: 4GB 以上4. 顯示卡:Intel HD Graphics HD5205. AI 推論套件: Intel OpenVino Toolkit 2021.04.016. 傳輸介面: USB 3.0 7. 神經計算棒: Intel® Neural Compute Stick 2 (Intel® NCS2)
圖4.作業系統與硬體規格
![4.IPC.png 4.IPC.png](https://static.assets-stash.eet-china.com/forum/202109/30/161638ze9pjti89jm7mvb8.png)
圖5.顯示卡
![5.Intel HD520.png 5.Intel HD520.png](https://static.assets-stash.eet-china.com/forum/202109/30/161641d0l0l1vobw1of3lb.png)
圖6.安裝Python軟體
![6.Python 3.8.9.png 6.Python 3.8.9.png](https://static.assets-stash.eet-china.com/forum/202109/30/163121a7myiy1ibyngy5ly.png)
https://www.python.org/downloads/release/python-389/
圖7.下載Python 3.8.9
![7.Python 3.8.9.png 7.Python 3.8.9.png](https://static.assets-stash.eet-china.com/forum/202109/30/163114n4neyugegmn1406x.png)
圖8.安裝Python 3.8.9 程式,記得Add Python 3.8 to PATH
![8.Python 3.8.9.png 8.Python 3.8.9.png](https://static.assets-stash.eet-china.com/forum/202109/30/163730u411q71b6eb4sb7e.png)
圖9.Python 3.8.9安裝中
![9.Python 3.8.9.png 9.Python 3.8.9.png](https://static.assets-stash.eet-china.com/forum/202109/30/163731gp9qtzyo9pmmo9qm.png)
圖10.安裝完成
![10.Python安裝完成.png 10.Python安裝完成.png](https://static.assets-stash.eet-china.com/forum/202109/30/165224mz88kje88uflkhja.png)
圖11.測試Python是否安裝成功
![11.測試Python是否正常運作.png 11.測試Python是否正常運作.png](https://static.assets-stash.eet-china.com/forum/202109/30/165228xztxnjqb9qs904jp.png)
12.Intel OPENVINO軟體下載
![12.Intel OPENVINO.png 12.Intel OPENVINO.png](https://static.assets-stash.eet-china.com/forum/202109/30/171216e8yi874tdetxiwwh.png)
下載網址:https://docs.openvinotoolkit.org/cn/latest/index.html
圖13.安裝Intel OPENVINO版本
![13.安裝Intel OPENVINO.png 13.安裝Intel OPENVINO.png](https://static.assets-stash.eet-china.com/forum/202109/30/171217tmplkz3nbblb8yl9.png)
圖14.Intel OpenVINO安裝中
![14.安裝中OPENVINO.png 14.安裝中OPENVINO.png](https://static.assets-stash.eet-china.com/forum/202109/30/171219ze9t9haz5vt61htv.png)
圖15.Intel OpenVINO下一步
![15.OpenVINO2.png 15.OpenVINO2.png](https://static.assets-stash.eet-china.com/forum/202109/30/173638f5g3hfg5lfty5gcd.png)
圖16.Intel OpenVINO安裝完成
![16.OpenVINO安裝完成.png 16.OpenVINO安裝完成.png](https://static.assets-stash.eet-china.com/forum/202109/30/173643eomd5s5m5mm79md4.png)
測試環境配置
1、按快捷鍵“Win+R”,進入“運行”,輸入“C:\Program Files (x86)\Intel\openvino_2021\bin\setupvars.bat”輸入Enter,初始化openvino_toolkit。
2、輸入“cd C:\Program Files (x86)\Intel\openvino_2021\deployment_tools\demo”輸入Enter鍵,
圖17.執行中
![17.OPENVINO執行.png 17.OPENVINO執行.png](https://static.assets-stash.eet-china.com/forum/202109/30/173650zycdylffynmkcpll.png)
輸入“.\ demo_security_barrier_camera.bat”輸入Enter,運行測試Demo,
環境配置無誤後,得到如下圖结果。
圖18.CPU結果
![18.CPU.png 18.CPU.png](https://static.assets-stash.eet-china.com/forum/202109/30/173700f03rj00uesdsviu7.png)
圖19.GPU結果
![19.GPU.png 19.GPU.png](https://static.assets-stash.eet-china.com/forum/202109/30/173721ysllk8pwk8wpytkl.png)
圖20.MYRIAD結果
![20.NCS2.png 20.NCS2.png](https://static.assets-stash.eet-china.com/forum/202109/30/173749ece0vcpheeribye7.png)
本次測評到此结束,再次感謝面包板社區提供的NCS2。
努力把後續Intel Realsense與Intel OpenVINO整合起來
![21..jpg 21..jpg](https://static.assets-stash.eet-china.com/forum/202109/30/180845jb9w4w3o9q4ogv33.jpg)