This tutorial will take you step-by-step through setting up your PC and Webcam to act as a motion-detecting and recording security camera system. And the software required to do this is open source (free).
Why?
What?
How?
Advanced includes: Multiple Webcams, Sending pictures to a remote location (FTP), How to duct-tape the light off your webcam (super-stealth)
Examples
Coming soon: How to do the same thing, with a Mac.
6 Reasons to set up a motion activated web-cam
- Maybe you live in a questionable (at best) part of East Vancouver and you’ve already been broken into (while you were doing the dishes). It would be helpful next time to have pictures of the intruder.
- Maybe you’re trying to prove to your landlord that some of the more questionable members of the general East Vancouver public are using the pathway between your building and the one next door as a shortcut between streets. Often with very large bags of cans (it’s a Vancouver thing). Loudly. At all hours of the day and night.
- Perhaps you want to catch someone using your PC after you’ve asked them repeatedly not to use it (because they seem to go out of their way to install spyware, toolbars you don’t want, and leave behind Britney Spears mp3s on your desktop)
- You’re bored?
- You want to get pictures of the pretty birdies eating from your new bird feeder.
- Yeah I know what you were expecting here, that’s lewd. Get your mind out of the gutter, this is a family site.
For this tutorial you’ll need:
- a PC running Windows 98, ME, 2000, XP (the software is untested on Windows 95 and NT, but should work)
- a webcam (or two, see advanced)
- Dorgem – an open source (free) webcam utility. Update: Though Dorgem has been discontinued, the download links still work, as does the software. The author will not be updating it anymore, and won’t be answering email support questions.
To upload images ‘off-site’ (in case someone steals your computer) you’ll need an FTP account. See the Advanced section when you’re done the initial setup.
- Install (if it isn’t already) your webcam. If you’re pulling one out of the closet and have long since lost the install CD, here are links to download the drivers for some of the most common webcam vendors:
- Download and install Dorgem. The installation is very straight forward, you’ll mostly click Next a bunch of times.
- Launch Dorgem and select your Webcam from the Camera selection drop-down list.
- Click the Preview button to display the view your webcam has. Physically adjust the camera to face the area you want to monitor.
- Click the Source button and make any adjustments to the Brightness, Contrast and/or other settings. Click OK when you’re happy with the results.
- Click the Options button
- Place a check in the box labeled Use motion detection. Certain Webcams (most often Labtec) can require Dorgem to “reconnect” after a certain period of no motion being detected. For now leave this box unchecked. If you notice that your Webcam isn’t capturing any images even though it should have, revisit this section and place a check in the box. It should be noted that if you do need to use this setting, your cam will likely take a picture every time Dorgem “reconnects” to it, so try using 5 minute (or higher) intervals. Otherwise you’ll end out with a LOT of pictures, most of which won’t have captured actual “motion”.
- Click OK after you have enabled motion detection to return to the main Dorgem window. Now you’ll need to create a ‘profile’ – which Dorgem refers to as Storage events. Click the Store settings button to create an event.
- Choose File and click OK (adding an FTP event is covered in the Advanced section, set a local file first to make sure everything works)
- Enter a Name: for this event, make sure Enable is checked, and then set an interval. Since you’ll be using motion detection, you probably want to capture images fairly “closely together” – so try 1 or 2 seconds. If you know for certain that this camera will detect a lot of motion (your camera faces an area with a lot of movement) you may want to set this somewhat higher. This setting can always be changed later, so experiment a bit. Click the … button next to Filename:
- Here you’ll be setting the folder to save images to, and the actual filename for each image. Dorgem allows special characters in file names so that each name is unique (otherwise each time your camera detected motion it would take a picture and over-write the previous one). Somewhere in the file name, enter the characters %g – which will give your file name a time-stamp. If you use %G in the file name, it will also add the current year.
Because my camera is taking pictures of movement on my patio, I named the file patio-camera%G%g. This results with images being saved as patio-camera20060926165001.jpg. Broken down that’s patio-camera – the current year – the current month, day, hour, minute and second. Click Save after you’ve selected a folder and file name.
- Click OK
- Click Close to return to the main Dorgem widow
- Wave your hand in front of the camera. Or throw something within its view. Jump around in front of it like an idiot. If everything was set correctly, you should now have some images in the folder you specified. Go take a look..
- If it didn’t work, start again at step 3 and double-check everything. The built-in Help file included with Dorgem is actually pretty helpful – use it for troubleshooting. Feel free to leave a comment below and include as much info as possible and I’ll try to help as well.




Multiple Webcams
If you can get more than one Webcam to work in Windows (not always an easy task, esp. if they’re Labtec), Dorgem can support them all. You don’t need to install another copy of Dorgem, but you do need to start each instance differently. To do so, follow the steps below..
- Right-click on your current Dorgem desktop icon and select Create Shortcut
- You should see a new Dorgem (2) icon on your desktop – right-click on it this time, and choose Properties
- Make sure the Shortcut tab is selected, and change the Target: to:
“C:\Program Files\Dorgem\Dorgem.exe” /c:cam2
If you installed Dorgem to somewhere other than the default location, make the appropriate changes.
- Click Apply and then
to return to your desktop. Double-click the Dorgem (2) icon. When it launches, notice that it’s titled Dorgem (cam2). Repeat the same steps you did for the first camera (though choose a different file name to save the image as).
Sending pictures to a remote location (FTP)
If you’re using this as a personal security system for your residence, you may want to store the files off-site, in case someone steals your computer (rendering your security totally useless). To do so, follow these steps.. (note: you’ll need an FTP account – check to see if your ISP provides one for you, eg. Personal Web Space/storage).
- Click the Store settings button and then click Add.
- This time select FTP and then click OK
- Enter in the required information. The file name can use special characters (see step 11 in the first How part of this tutorial). You may have to experiment with some of these settings. For example, I have to use Passive mode because of the way my home network is set up. You may not. Click OKwhen all of the required info has been entered.
- Wave your hand in front of the webcam (or throw something through its field of view). Check your FTP site and you should see a new file (or files) there. Note: when I have both save to my local hard drive and save to FTP enabled, only one works. You may need to disable the local copy if you want FTP to work. If you figure out a way for both to work, by all means let me know.

How to duct tape the light off your webcam (super-stealth)
- Does your webcam have an annoying light that gives away its location when you try to hide it?
- Find some duct tape that matches the colour of your camera. Or, masking tape and a marker.
- Place tape over the light.
- Your camera will now blend in like a ninja. Extra bonus: use the duct tape to hold your hidden camera in place.



Examples (from the first day I set this up)
Yes, birds will trigger the motion sensing webcam.


Seriously, this isn’t a shortcut for you to use.


How patio furniture gets stolen.


I don’t care if you’re practicing your tight-rope walking, stop using this area as a shortcut.



You too.




My webcam lets me know when not to open my blinds. AKA get an unrequested view of some carpenters crotch.
















Pingback: Howto: use your PC and Webcam as a motion-detecting/recording system « Digged Stories
Pingback: www.e-paisvasco.com
Pingback: Anonymous
Pingback: Use Webcam as a motion-detecting and recording security camera - lifehack.org
Pingback: meneame.net
Pingback: Open Resource Centre : Security - free motion detecting software - using webcam
Pingback: Shaastra Thamesportal Zalecenia Autophytes Invernesshire » Blog Archive » Howto: use your PC and Webcam as a motion-detecting/recording system
Pingback: Information Security & howtos » Howto: use your PC and Webcam as a motion-detecting/recording system
Pingback: links for 2006-09-29 « Bloggitation
Pingback: Ian Scott » Blog Archive » Howto: use your PC and Webcam as a motion-detecting/recording system
Pingback: mrBadak.com
Pingback: links for 2006-09-29 | Musings by Steve Miller
Pingback: links for 2006-09-29 « Donghai Ma
Pingback: Clicked
Pingback: BIGPRU.com | Brain Dump » My new webcam!
Pingback: Howto: use your PC and Webcam as a motion-detecting/recording system at shershnev.net
Pingback: lemasney.com » Blog Archive » links for 2006-09-29
Pingback: Informatika.es » Blog Archive » Webcam de vigilancia
Pingback: Earthling - EarthLink blog
Pingback: Ron Pemberton - Personal Perspective/ Music Reviews/ Film Reviews/ Book Reviews/ Product Reviews/ WordPress/ Palm OS » links for 2006-09-29
Pingback: Steen Jeberg » Blog Archive » Use your webcam as a security cam.
Pingback: feldon.net » Blog Archive » links for 2006-09-30
Pingback: Motion Detector Webcam - Webfeed Central
Pingback: How to use your PC and Webcam as a motion-detecting and recording security camera at Visual Nomads Weblog…
Pingback: zean.no-ip.info » Cómo convertir tu webcam en un sistema de videovigilancia
Pingback: links for 2006-10-02 at antifaust
Pingback: JayMcCormack.com » Blog Archive » Interesting and Easy
Pingback: paradox1x
Pingback: How to use your PC and Webcam as a motion-detecting and recording security camera « Chronicles
Pingback: EveryDigg » Blog Archive » Howto: use your PC and Webcam as a motion-detecting/recording system
Pingback: espouser » Blog Archive » How to Use a Webcam and Your PC as a Video Security Monitor
Pingback: A9@Tencent
Pingback: Trasformare il vostro PC in una videocamera di sicurezza con sensori di movimento » Schiaccianoci’s WeBlog
Pingback: I Only Wish » Blog Archive » Howto: use your PC and Webcam as a motion-detecting/recording system
Pingback: Diesel and Dust » Blog Archive » Beers for breakfast.
Pingback: ideas » Motion Detection Using Your WebCam
Pingback: X-hong-?-????? » links for 2006-10-31
Pingback: Ethan
Pingback: Howto: use your PC and Webcam as a motion-detecting/recording system : Electronic Cash News
Pingback: abecks.net presents Mindset
Pingback: (1050) How to use your PC and Webcam as a motion-detecting and recording security camera - Simplehelp : Popular Bookmarks : eConsultant
Pingback: Huh? » Blog Archive » How to use your PC and Webcam as a motion-detecting and recording security camera - Simplehelp
Pingback: car vandalism problem - Fires of Heaven Guild Message Board
Pingback: VegasDog.org
Pingback: iDiy.mobi » How to use your PC and Webcam as a motion-detecting and recording security camera - Simplehelp
Pingback: 10 ways to get the most out of your Apple Remote - Simplehelp
Pingback: SonniesEdge » Obsessive webcam spying
Pingback: Have only just got a webcam, what else apart from chatting online can i do with it?
Pingback: PedroMenezes.com > Como usar seu PC e Webcam com câmera de segurança com detector de movimento
Pingback: Notes » Blog Archive » Home Camera Security System
Pingback: Kriptópolis
Pingback: Goof Off: Happy Fourth of July!
Pingback: Laptop Computer WebLog » Blog Archive » Wunder Blog Directory : Weather Underground
Pingback: What I’ve learned in my first year of blogging - Simplehelp
Pingback: nerdybird.org » digg top 365, pages 201-300
Pingback: Email Marketing | Email Marketing Pro
Pingback: | factoryoemcarsecurity.check4cheap.com
Pingback: motionsensors.check4cheap.com » Blog Archive
Pingback: Mehrere USB-WebCams mit Auswahl am PC möglich? - Supernature-Forum - das Wohlfühlboard
Pingback: Sicurezza video: 4 videocamere IP | FDS
Pingback: "It" took a pretzel - Page 2
Pingback: Free webcam recording software w/guide - Overclock.net - Overclocking.net
Pingback: Research links « Masters Group Project 2008
Pingback: Im Officially FREAKED out....!!!! - Authentic Designer Jeans:: HonestForum.com :: the #1 web community for designer jeans
Pingback: Computer linked security camera? - Fires of Heaven Guild Message Board
Pingback: Home automation system, YouTube nab burglars « IT Spot
Pingback: motion sensor
Pingback: digitalBush » "If I had known I was going to get robbed today, I would have…"
Pingback: Set up a webcam with motion detection - ADISC.org
Pingback: security DVR - Tactical Gamer
Pingback: nanny cam via laptop, webcam, computer etc etc?? - kittyradio.com
Pingback: foXnoMad » How To Protect Your Home When You Travel
Pingback: I can hardly believe it............. | hilpers
Pingback: Dorgem Open Source Montion Capture Software | Danny Tsang
Pingback: Tricks To Keep Your Cat Happy While You Travel : foXnoMad
Pingback: The Great Geek Manual » Link Round-Up: April 1, 2009
Pingback: Interesting Reading… - The Blogs at HowStuffWorks
Pingback: fcukin.com » Blog Archive » 64 FCUKIN Things Every Geek Should Know
Pingback: 64 cosas que todo geek debe saber | gEEK tHE pLANET
Pingback: 64 Things Every Geek Should Know « Caintech.co.uk
Pingback: 64 Cosas que un Geek debe de saber | Geek Zeitung
Pingback: smadamr | 2^6 Things Every Geek Should Know
Pingback: Proteggersi dai ladri con la propria webcam grazie a Dorgem « valkiro
Pingback: 64 Things Every Geek Should Know | IXPLORA - Mobile Phone News and General Tech News and Discussion
Pingback: Mega-gia: 64 cosas que un Geek deveria saber « marcianos conectados
Pingback: How can I make old computer to record of security camera? - Tech Support Forums - TechIMO.com
Pingback: The Geek “Must Do Before You Die” Checklist | Technician Blog
Pingback: Arrow Webzine » 64 Things Every Geek Should Know.
Pingback: 64 things a tech-savvy geek should know! - Digihackers – Tech 2.0!
Pingback: 64 Things Every Geek Should Know | Enginerve's Blog
Pingback: Good webcam for a security system? - Overclock.net - Overclocking.net
Pingback: 64 things a tech savvy geek should know! | DigiHackers
Pingback: 64 things a tech savvy geek should know! | DigiHackers
Pingback: How to Use a Webcam and Your PC as a Video Security Monitor
Pingback: Chip’s Spynotebook » Blog Archive » Weekly Lifestream Summary for August 28th
Pingback: The Geek “Must Do Before You Die” Checklist | Failure is the Key to Success
Pingback: Ostrich Flash « Multimedia Pioneering
Pingback: Motion Sensor - S-10 Forum
Pingback: 10 DIY Cheap and Easy Ways to Protect Your Home
Pingback: 64 things a Geek must know « A tech weirdo texts
Pingback: Are you really a Geek? 54 Things Geeks Should Know. « Shiny Otaku
Pingback: Is it possible to set up a spy camera at my boyfriends house and be able to view it from my house?? | Detailed Spy Camera Information
Pingback: Asteptarea este grea… « Danutzii de peste ocean
Pingback: Cheap Video/Image Surveillance Setup « BioIT
Pingback: 64 Things Every Geek Should Know « Live Beautifully.
Pingback: 64 Things Every Geek Should Know « The illiterate scientist
Pingback: Greater Glencairn Valley Neighbourhood Watches » Do it yourself surveillance system
Pingback: DEALING WITH PROWLERS/INTRUDERS ?
Pingback: How to set up a surveillance camera on my computer for my room? | Best Home Security Camera
Pingback: The Geek “Must Do Before You Die” Checklist | Daily Cup of Tech » Ashton Technology Blog
Pingback: Burglary! - Page 3 - INGunOwners
Pingback: 25+ Applications to turn Webcam into Home Security System
Pingback: Security Webcam Advice? - Acura MDX Forum : Acura MDX SUV Forums
Pingback: Free home surveillance with computer + webcam « Andreas – Joakal
Pingback: How to use your PC and Webcam as a motion-detecting and recording security camera – Simple Help « Kevin Seeger : random scribbles from Mr. Famous himself
Pingback: 64 Things Every Geek Should Know | Blog-bin
Pingback: How can I use my webcam as a security camera to see live stream? ? | comners
Pingback: 64 Things Every Geek Should Know! « Sallys Special Services
Pingback: Security camara | Sellami
Pingback: Detector de movimentos com webcam « JotaPêAh!
Pingback: Some useful ways to use Dropbox - www.MICKOTOOLE.com www.MICKOTOOLE.com
Pingback: 70 Things Every Computer Geek Should Know « Brain on Tech
Pingback: 70 Things Every Computer Geek Should Know
Pingback: Success | Pretty Can Hurt
Pingback: 70 Things Every Computer Geek Should Know[转]. - 青春纪念册
Pingback: 64 Things Every Wannabe Geek Should Know By Caintechnews « My Ass Geek
Pingback: How to be a Computer Geek… « My First Blog
Pingback: 70 Thinks Should Be Aware Off By Every Computer Geek | Hacking Hero
Pingback: ambien
Pingback: I have a labtec webcam but i cant seem to discover the software program to activate it. in which can i download it on the net | Webcams
Pingback: 64 Things Every Geek Should Know « gover
Pingback: 70 Things Every Computer Geeks Should Know | New Technology News and Reviews
Pingback: Atleast Computer Geek Should Know !! | twitarticle.com
Pingback: Software recording software webcam laptop - 9lives - Games Forum
Pingback: Transforme sua webcam em um dispositivo de detecção de movimento e gravação de segurança. | GIEG Computadores
Pingback: Idėja #1: Kambario apsauga su kamera | Jurgis Lečas
Pingback: Recommend program for USB camera? | Kidde Carbon Monoxide Detector Beeping
Pingback: 3 ideas para convertir tus gadgets anticuados en tecnología del futuro - #Gadgetopost
Pingback: Morning Reading: 9/30/06 | Newsome.Org
Pingback: What Free Softtware (Windows 7) To Use With A Webcam | Click & Find Answer !