簡易監視系統DIY

最近單位內頻竊, 但預算有限, 專門的監視及防盜系統只能慢慢建立, 所以在此介紹建置一個簡單的監視系統.


硬體需求:

  • PC x 1

  • webcam x 1

  • 感應式LED燈 x 1

軟體需求:

  • Java Runtime Environment (JRE) 6 or later.

  • DirectX 9 or later.

  • Windows Media Player 9 or later.

  • Windows 2000/XP/Vista/7/8/10

  • yawcam

webcam能連上PC, PC效能不拘能24hr開機即可.

慼應式LED燈的選擇應考量:

  1. 感應距離, eg. 3m

  2. 感應角度, eg. 270度

  3. 光通量(照度), eg. 900lm

  4. 夜間(或光線不足)時感應範圍內物體移動時亮燈一段時間, eg. 30s

  5. 兩腳扁型(一般家用)電源揗頭

目的是為1.提供webcam照明 2. 嚇阻小偷


webcam和感應式LED燈應該在NT$2000以內可以搞定.


yawcam軟體可在http://www.yawcam.com 網站免費download及使用.(Yawcam can be used for free both commercially and non-commercially.)


安裝好軟硬後, 接下來進行相關設定

yawcam會用到tcp/8888(http), tcp/udp/8081(stream), 請先設定好host and network firewall及router(設定port forward). (註: UPNP請參考http://www.yawcam.com/help/help_upnp.php)

若PC IP是dynamic, 請參考http://www.yawcam.com/help/noipguide.php


開啟webcam


偵測webcam

Settings -> Detect video devices...


調整webcam (一般來說, 用default value即可)

Settings->Device(Webcam C170)->Device properties..., Format control...


設定語言 (沒有正體中文, 簡體中文好像有點問題)

Settings->Edit Settings...->Category: Language->Change...


設定連線 (請依實際網路連線方式設定)

Settings->Edit Settings...->Category: Connection


設定輸出 (因我們只需Stream output, 故僅設定Stream即可,

Settings->Edit Settings...->Category: Output->Stream

額外設定中可限制Stream連線數, 傳輸量, 傳輸時間, 影像產生速率(frame per sec.)等

Settings->Edit Settings...->Category: Output->Stream->Additional settings...

設定輸出頁面

Settings->Edit Settings...->Category: Output->Stream->Page designer...

設定完成後可以按"Preview"檢視


客製化Captured Images

設定Text Overlay

Settings->Edit Settings...->Category: Overlay->Text

設定Image Overlay

Settings->Edit Settings...->Category: Overlay->Image


設定啟動yawcan時執行

Settings->Edit Settings...->Category: Startup

  • Start Stream output

  • StartMotion detection

  • Show preview 或 Show capture

  • Show Console (Console單獨一個window)

  • Show viewers(遠端連線管理)

  • Save log file

  • Enable device error monitor


設定登帳號密碼

Settings->Edit Settings...->Category: Password


設定排程

簡單易用的排程, 但不能依日期設定

Settings->Edit Settings...->Category: Scheduler


設定motion dection events

Window->motion dection->Motion Events

設定events保留30天

Window->motion dection->Motion Events->Settings...

設定motion dection actions

Window->motion dection->Actions

設定motion dection video儲存路徑, 時間及容量

Window->motion dection->Actions->Save video->Settings...

設定motion dection寄信

Window->motion dection->Actions->Send e-mail->Settings...

設定motion dection區域, 演算法等

Window->motion dection->Settings...


管理遠端連線IP

你可以中斷(Kick)某個IP連線, 也可以禁止某個IP連線

Window->Viewers