前提・実現したいこと
ここに質問の内容を詳しく書いてください。
http://jellyware.jp/kurage/movidius/c03_setting.htmlmac
というサイトでmacのラズベリーパイの設定を行っていたのですが、サイトの下の方の動作確認でディープランニング推論が動くかチェックするとろで「python3 run.py」のコードを打ち込んだら
ボールドテキストTraceback (most recent call last):
File "run.py", line 20, in <module>
import cv2
ImportError: No module named 'cv2'
とエラーが発生してしまいました。
プログミングは初めてなので右も左もわからずどうしていいかわからないです。
どのようにすればいいでしょうか?
macのOSはOS X EL Capitanです。
ラズパイはRspcerry Pi3です。
Movidus neural compute Stickを挿入して行いました。
関係ないかもしれませんが動作確認で「python3 hello_ncs.py」と入力して出てきたのがサイトの結果の数字が少し違っていました。
下のコードが私の動作確認のときに出たものです。
D: [ 0] ncDeviceCreate:308 ncDeviceCreate index 0
D: [ 0] ncDeviceCreate:308 ncDeviceCreate index 1
D: [ 0] ncDeviceOpen:524 File path /usr/local/lib/mvnc/MvNCAPI-ma2450.mvcmd
I: [ 0] ncDeviceOpen:530 ncDeviceOpen() XLinkBootRemote returned success 0
I: [ 0] ncDeviceOpen:568 XLinkConnect done - link Id 0
D: [ 0] ncDeviceOpen:582 done
I: [ 0] ncDeviceOpen:584 Booted 1.1.2-ma2450 -> VSC
I: [ 0] getDevAttributes:383 Device attributes
I: [ 0] getDevAttributes:386 Device FW version: 2.a.2450.8a
I: [ 0] getDevAttributes:388 mvTensorVersion 2.10
I: [ 0] getDevAttributes:389 Maximum graphs: 10
I: [ 0] getDevAttributes:390 Maximum fifos: 20
I: [ 0] getDevAttributes:392 Maximum graph option class: 1
I: [ 0] getDevAttributes:394 Maximum device option class: 1
I: [ 0] getDevAttributes:395 Device memory capacity: 522047856
Hello NCS! Device opened normally.
I: [ 0] ncDeviceClose:776 closing device
Goodbye NCS! Device closed normally.
NCS device working.
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2019/04/12 03:33