Raspberry Pi のカメラモジュールを 色々試していきます。
今使っている 2012-09-18-wheezy-raspbian には カメラ用のコマンドが入っていないので アップグレードします。
いつものように下記サイトを参考に進めます。
[参考]
Raspberry Pi メモ (23) - カメラモジュールの使い方 - Jun's Homepage
カメラ用のコマンドは /opt/vc/bin に入るようです。
$ ls -lt /opt/vc/bin
total 228
-rwxr-xr-x 1 root root 58483 Oct 29 2012 edidparser
-rwxr-xr-x 1 root root 36147 Oct 29 2012 tvservice
-rwxr-xr-x 1 root root 61435 Oct 29 2012 vcdbg
-rwxr-xr-x 1 root root 15015 Oct 29 2012 vcgencmd
-rwxr-xr-x 1 root root 54194 Oct 29 2012 vchiq_test
まだありません。
アップグレードします。
$ sudo apt-get update $ sudo apt-get upgrade
この作業は 10分〜20分くらいかかります。
アップグレードが終わったら 再度確認してみます。
$ ls -lt /opt/vc/bin total 364 -rwxr-xr-x 1 root root 59825 Aug 08 22:08 edidparser -rwxr-xr-x 1 root root 44483 Aug 08 22:08 raspistill -rwxr-xr-x 1 root root 40243 Aug 08 22:08 raspivid -rwxr-xr-x 1 root root 38070 Aug 08 22:08 raspiyuv -rwxr-xr-x 1 root root 44950 Aug 08 22:08 tvservice -rwxr-xr-x 1 root root 62584 Aug 08 22:08 vcdbg -rwxr-xr-x 1 root root 15054 Aug 08 22:08 vcgencmd -rwxr-xr-x 1 root root 55013 Aug 08 22:08 vchiq_test
raspistill などのカメラ用のコマンドが追加されています。
今回はここまで。続きます。