Kamera Pengawas detection motion open source bag.1

Sebetulnya ini kerjaan waktu aku iseng dimana ada temanku mau buat warnet tapi dilengkapi cctv..setelah aku mikir2 ngapain beli cctv mendingan memaafkan webcam yang kita punya..(masak warnet tidak ada webcam) hehehe..Setelah aku search di repo nya distro kesayangku (ubuntu) ketemu nama camserv dan motion.. Kebetulan warnet temanku berbasis open source semua dan ubuntu semua..maka aku mulai langsung menginstall nya..

Pertama yang kita perlukan siapkan webcam serta komputer yang sudah terinstall ubuntu…Oke langsung aja kita mulai :

  1. Pertama masuk ke terminal ketik zaki@zaki-laptop:~$ sudo su
    [sudo] password for zaki:
    root@zaki-laptop:/home/zaki#
  2. ketik root@zaki-laptop:/home/zaki# apt-get install camserv
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    camserv is already the newest version
  3. Colok lah webcam anda di komputer anda lalu ketik root@zaki-laptop:/home/zaki# dmesg kalau mucul 850.780000] eth1: no IPv6 routers present
    [ 3213.796000] usb 5-1: new high speed USB device using ehci_hcd and address 2
    [ 3214.520000] usb 5-1: new high speed USB device using ehci_hcd and address 3
    [ 3214.652000] usb 5-1: configuration #1 chosen from 1 choice
    [ 3241.352000] usb 5-1: USB disconnect, address 3
    [ 3260.288000] usb 5-1: new high speed USB device using ehci_hcd and address 4
    berati webcam anda terkoneksi dengan usb…ada titik terang berarti uda bisa alias webcam terdeteck diubuntu..
  4. Sekarang kita mulai konfig tuk setingan camserv root@zaki-laptop:/home/zaki# vim /etc/camserv/camserv.cfg lalu sama yang perlu diseting sebagai berikut : [video_v4l_qcam]
    path /usr/lib/camserv/libvideo_v4l.so.0
    device_path /dev/video0 ##ini aja kyk nya
    port 0
    color 30000
    hue 30000
    contrast 30000
    brightness 30000
    whiteness 30000
    autobright 0 [socket]
    listen_port 9192 ## buat bisa diliat di webbrowser dengan port 9192 defaultnya
    max_frames 0
    max_bytes 0
    max_seconds 0
  5. Setelah itu kita restart service nya root@zaki-laptop:/home/zaki# /etc/init.d/camserv restart
    Restarting camserv: camserv.

Berikut ini hasil capture nya

Itu real time temannn,,, besok kita lanjutkan lagi yang bisa mencapture gambar jika ada perubahan…Iseng2 ini sekarng kalau mau liat bisa datang di warnet underground gebang putih no 88…saya instal disitu..

Explore posts in the same categories: Linux

Tags: , , ,

You can comment below, or link to this permanent URL from your own site.

One Comment on “Kamera Pengawas detection motion open source bag.1”

  1. vica Says:

    wahhh keren bgttttt
    itu pake webcam apa aja bisaaa?????
    atau ada specs tertentu?


Comment: