LoginSignup
7
9

More than 5 years have passed since last update.

Raspberry Pi+USBカメラで簡易ライブカメラ

Posted at

Spec.

  • Raspberry Pi 3
  • 適当なUSBカメラ
  • Motion Version 3.2.12+git20140228

インストール〜起動

$ sudo apt-get install motion

$ vi ~/motion.conf
width 640
height 480
framerate 2
minimum_frame_time 5
stream_port 8081
stream_localhost off
output_pictures off

$ motion

適当なWebブラウザから http://<IPアドレス>:8081/ にアクセス。

上記設定は5秒に1回の映像更新でファイル保存なし。
- ストリーミング動作中(上記URLアクセス)のCPU使用率は5〜10%程度。
- 非アクセス時はプロセスのCPU使用率2%以下。

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