How can I use my computer as a security camera for my apartment? Preferably, the computer would be on while I'm not at home and take some photos when it detects motion in the room. When the motion would be detected the computer should save the photo into a file, or send me an email, or run a shell script. I would accept either Windows or Linux software. Is it possible to make the computer sleep, with the camera on, and then wake up when motion is detected?
I have another question. It seems that for the above solution to work, the computer must be physically present in the room, making it a target for possible theft. How can I instead use a Raspberry Pi or Arduino to control the cameral? I am willing and able to learn a new technology. I know a bit about programming.
For my purpose, I would like the camera to only take pictures when motion is detected in the room. I don't want the camera to take pictures all the time, or record a video stream. Would any of you guys recommend a camera that is precise enough? Thank you.