回答編集履歴
2
追記: numpy
test
CHANGED
@@ -20,4 +20,20 @@
|
|
20
20
|
|
21
21
|
|
22
22
|
|
23
|
+
numpyが入っていないと、`import cv2`のところで、ImportError: numpyどーこー、というようなエラーが出るので、インストールされてなければ、以下も実行してください。
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
```
|
28
|
+
|
29
|
+
sudo apt install python-numpy # python2向け
|
30
|
+
|
31
|
+
sudo apt install python3-numpy # python3向け
|
32
|
+
|
33
|
+
```
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
|
23
39
|
これ以降もエラーがでるなら、NCSDK関係がうまくインストールできてないのかもしれません。
|
1
追記: apt update
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
curl -SL https://github.com/mt08xx/files/raw/master/opencv-rpi/${OPENCV_DEB} -o ${OPENCV_DEB}
|
16
16
|
|
17
|
-
sudo apt install -y ./${OPENCV_DEB}
|
17
|
+
sudo apt update && sudo apt install -y ./${OPENCV_DEB}
|
18
18
|
|
19
19
|
```
|
20
20
|
|