LoginSignup
4
4

More than 3 years have passed since last update.

[やってみた]Jetson nano カメラ編

Posted at

カメラ接続

カメラの接続

フラットケーブルの基盤接続面をヒートシンク側に向けて接続。

接続状況の確認

以下のコマンドで接続状況を確認できる

$ ll /dev/video0
crw-rw----+ 1 root video 81, 0 Feb  9 21:27 /dev/video0

また、v4l2-ctlコマンドでカメラのデバイス情報を確認できる

$ sudo apt-get -y install v4l-utils

(注意)使用できるカメラに制限がある

そのまま流用できるのはRaspberryPi用カメラV2。

$ v4l2-ctl --list-devices
vi-output, imx219 6-0010 (platform:54080000.vi:0):
        /dev/video0

DonkeyCarで使用されていたカメラは赤外線カメラのようで認識しなかった。

$ v4l2-ctl --list-devices
mmal service 16.1 (platform:bcm2835-v4l2):
        /dev/video0

撮影

$ nvgstcapture

j+returnでjpg保存
ctrl+cで終了
4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4