View Full Version : Webcam Motion Detection program
joshchernoff
December 20th, 2007, 03:48 PM
This is a update to my first AIR application. It detects motion then saves a jpg to a off site server for later recovery.
download it here http://gfxcomplex.com/blog/?p=76
FYI: this application requires AIR beta 3
http://gfxcomplex.com/labs/webcam.jpg
zao
December 20th, 2007, 05:16 PM
Is there some sort of interval to it? Or does it save an image EVERY time motion is detected?
Stratification
December 20th, 2007, 05:25 PM
Just saw your post over on IconBuffet. Looks kind of interesting, is the server it posts to configurable?
Pasquale
December 20th, 2007, 05:39 PM
This is a update to my first AIR application. It detects motion then saves a jpg to a off site server for later recovery.
download it here http://gfxcomplex.com/blog/?p=76
FYI: this application requires AIR beta 3
http://gfxcomplex.com/labs/webcam.jpgIt would be really cool to be able to monitor it via a panel on a custom server, so people can check out what's crackin' at home or whatever!
joshchernoff
December 20th, 2007, 06:26 PM
It would be really cool to be able to monitor it via a panel on a custom server, so people can check out what's crackin' at home or whatever!
After you create a user name it saves the images in the format of
( [userid]_[timestamp].jpg )and it updates a data-grid in the settings panel with all of the users images. The images are saved to a server via byte-array and amfphp with the c extension which helps by saving images under 500ms per image.
The server will have a full API some time soon down the road but for now it has a very simple login system and DB for managing users and images.
The next thing I want to add is multiple cameras in one instance of a running application.
As for seeing the most current image, that is very simple and possible since all you have to do is look at the database and check the last update to it. Though that has not yet been implemented. As of now it's still very much under work with plenty of bugs.
joshchernoff
December 20th, 2007, 06:48 PM
Is there some sort of interval to it? Or does it save an image EVERY time motion is detected?
it saves every image that it can when the motion threshold is crossed and sends and saves it to a server. Each image takes about 500ms to send and save. if you make a user name you can log in and retrieve your images. Though at the moment you will only see the the list update when a image is saved so you will have to trigger the camera to save a image before the list updates with older saved images.
joshchernoff
December 20th, 2007, 07:52 PM
Heres a little application to see what images are being saved by others with my webcam tool. http://gfxcomplex.com/getImages.html
Pasquale
December 21st, 2007, 07:09 AM
I try to create an account, and hit the submission button, but it doesn't do anything. The local images still work though
joshchernoff
December 21st, 2007, 12:51 PM
Opps sorry the dam URL was wrong here is the URL to the AIR file also it's been updated on the blog.
http://gfxcomplex.com/labs/Webcam_Motion_Detection.air
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.