6
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

UbuntuでのWebcam確認

Posted at

背景

Azure IoT EdgeLive Video Analyticsというモジュールがあり、カメラソース情報を設定しなければいけません。もし、Webcamなど複数カメラを接続している状態ならどのカメラがどちらにつながっているか動作確認と共に事前確認すべきなので困らないようにarm64またはx86-64アーキテクチャのUbuntuで確認する方法についてまとめておきます。
WebcamはUVCタイプならLinuxで問題なく使えます。

確認方法

1. CLIコマンド

$ ls /dev/video*
$ lsusb -v

2. Cheese Webcam Application

image.png

$ sudo apt-get install cheese
$ cheese

カメラ切り替え

image.png
image.png

3. VLC media player

image.png

$ sudo apt-get install vlc
$ ls /dev/video*
$ vlc v4l2:///dev/video0
6
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
6
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?