LoginSignup
0
0

More than 5 years have passed since last update.

jetson-inferenceでV4L2カメラを使う

Last updated at Posted at 2019-01-10

Jetsonの推論デモでV4L2カメラデバイスを使う方法。

Jetson TX1を下記のキャリアボードに乗せたが、USBカメラでjetson-inferenceのデモが動作しなかった。
Orbitty Carrier for NVIDIA® Jetson™ TX2/TX2i/TX1

detectnet-camera.cpp等のdefineでカメラを指定する。
デフォルトは-1でオンボードカメラになっている。/dev/video0を指定したい場合は0にすれば良い。

detectnet-camera.cpp
#define DEFAULT_CAMERA -1   // -1 for onboard camera, or change to index of /dev/video V4L2 camera (>=0)

再度makeして、V4L2でカメラが動作するようになった。

0
0
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
0
0