Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:vim3:npu:opencv-dnn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
products:sbc:vim3:npu:opencv-dnn [2023/05/09 23:26]
nick
products:sbc:vim3:npu:opencv-dnn [2023/05/10 00:22]
hyphop [OpenCV DNN Usage]
Line 2: Line 2:
  
 <WRAP important > <WRAP important >
-Just use for VIM3, not in VIM3L.+Just use for [[:VIM3]] only, not for [[:VIM3L]].
 </WRAP> </WRAP>
  
Line 19: Line 19:
  
 ```shell ```shell
-wget https://dl.khadas.com/development/opencv-4.7-2.deb +wget https://dl.khadas.com/development/opencv-4.7-2.deb 
-sudo dpkg -i opencv-4.7-2.deb+sudo dpkg -i opencv-4.7-2.deb
 ``` ```
  
Line 30: Line 30:
  
 ```shell ```shell
-cd ~ +cd ~ 
-git clone https://github.com/khadas/OpenCV_NPU_Demo.git+git clone https://github.com/khadas/OpenCV_NPU_Demo.git
 ``` ```
  
Line 39: Line 39:
  
 ```shell ```shell
-cd ~/OpenCV_NPU_Demo/cpp_demo +cd ~/OpenCV_NPU_Demo/cpp_demo 
-mkdir build && cd build +mkdir build && cd build 
-cmake .. +cmake .. 
-make+make
 ``` ```
  
Line 50: Line 50:
  
 ```shell ```shell
-cd ~/OpenCV_NPU_Demo/cpp_demo/build +cd ~/OpenCV_NPU_Demo/cpp_demo/build 
-./detect-camera 1 ../../model/yunet_int8.onnx # My cam is /dev/video1, so there is 1+./detect-camera 1 ../../model/yunet_int8.onnx # My cam is /dev/video1, so there is 1
 ``` ```
 {{products:sbc:vim3:npu:opencv-c.jpeg}} {{products:sbc:vim3:npu:opencv-c.jpeg}}
Last modified: 2023/12/25 03:59 by nick