Re: [SLUG] Of web-cams with video recorder etc.

2002-05-01 Thread Jan Schmidt

quote who=Ben Donohue

 Has anyone had any experience with web-cams+video recorders+time lapse using
 Linux as the server?

You may wish to investigate 'motion':

motion uses a video4linux device for detecting movement. It makes snapshots
of the movement which later will be converted to MPEG movies, making it
usable as an observation or security system. It can send out email and SMS
messages when detecting motion. 

http://motion.technolust.cx/

Cheers,
J.
--
Jan Schmidt  [EMAIL PROTECTED]

ENOSIG
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Of web-cams with video recorder etc.

2002-04-30 Thread Paul Cameron

On Mon, Apr 29, 2002 at 10:21:19PM +1000, Chris Barnes wrote:

 I have a Logitech Quickcam Web...i found linux drivers for it but the
 software isn't too fancy...it just opens an xwindow and displays the camera
 output, if you know how to alter the code you could have it send the output
 to a file instead...e.g. by using libjpg or something, have it dump to a jpg
 in your web server room folder and then all you would have to do is click
 the refresh button every few seconds.

Is that the rectangular shaped Logitech Quickcam Web you are talking about?

(I ask as I have one and couldn't get it to work, I'd like to know if
 you had success with yours)

Paul.

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



RE: [SLUG] Of web-cams with video recorder etc.

2002-04-29 Thread Chris Barnes

I have a Logitech Quickcam Web...i found linux drivers for it but the
software isn't too fancy...it just opens an xwindow and displays the camera
output, if you know how to alter the code you could have it send the output
to a file instead...e.g. by using libjpg or something, have it dump to a jpg
in your web server room folder and then all you would have to do is click
the refresh button every few seconds.

I dont know of any proper linux software to do this, but the windows
software is quite good...comes with motion activation support...

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Ben Donohue
Sent: Monday, 29 April 2002 9:43 AM
To: [EMAIL PROTECTED]
Subject: [SLUG] Of web-cams with video recorder etc.


Hi Slugs,

I've had some strange goings on around the outside of my house lately.
I started toying with the idea of setting up a hidden camera and video
recorder with time lapse and or movement sensor etc.
Then on top of this using it as a web-cam so that I can view my place from
work etc.

I've googled a bit but have only found lots of stuff based on windows so
far, so I thought I'd hit the list.
Has anyone had any experience with web-cams+video recorders+time lapse using
Linux as the server?
I don't have a lot of time to set this up myself and also not the expertise.
For the right price I would be happy to pay for the help of someone to help
get it going. I live in Ashbury (which is near Ashfield - inner west,
Sydney).

Thanks
Ben

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Of web-cams with video recorder etc.

2002-04-29 Thread Jobst Schmalenbach

On Mon, Apr 29, 2002 at 10:21:19PM +1000, Chris Barnes ([EMAIL PROTECTED]) 
wrote:
 I have a Logitech Quickcam Web...i found linux drivers for it but the
 software isn't too fancy...it just opens an xwindow and displays the camera
 output, if you know how to alter the code you could have it send the output
 to a file instead...e.g. by using libjpg or something, have it dump to a jpg
 in your web server room folder and then all you would have to do is click
 the refresh button every few seconds.
 

Motion detection should not be difficult to do:

 * start loop
 * take a photo, save as bitmap (it must be bitmap)
 * wait a few seconds
 * take another photo save it with different name (as bitmap)
 * now for each row and each column in both pics subtract each pixel.
   if each pixel is the same in both pics the result must be zero.
   if a pixel is different, the result is NOT NULL.
   sum/count the pixels which have changed and divide by all pixels (x100).
 * if percentage reached, raise alarm
 * go back to start loop.


Now you have to make up for some wind/leaves etc so you must
find a certain percentage when the motion detector should go
off. You can test it with a paper attached to a string and
move it in the field of vision of the camera, raising the size of the
piece you are moving until you found the go off point.


jobst



-- 
My Carpenter has a 1956 VW Beetle. He still can go to any place in Australia, use any 
Oil, spark plugs, pertol, tires, wiper blades, etc available today with a car that 
old. If only software would be like that.

 __, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director
   _ _.--'-n_/   Barrett Consulting Group P/L  The Meditation Room P/L  
 -(_)--(_)=  +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



RE: [SLUG] Of web-cams with video recorder etc.

2002-04-29 Thread Ben Donohue

Brilliant!
still... it might take a bit of processing power?
i'll add that to the project, but it's way down the list of essentials.

for an outside camera you could possibly map out the areas that should not
change and exclude large areas with trees etc from the calculations. then do
the calcs again with a very low percentage just in case butterfly, leaf,
cat, bird, etc.

higher percentage for a person = alarm/record/save files to a different
area. then if files there send emails, sms messages, etc. also browse to
files and call up in browser.

Ben.



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Of web-cams with video recorder etc.

2002-04-29 Thread Jobst Schmalenbach

On Tue, Apr 30, 2002 at 12:51:32PM +1000, Ben Donohue 
([EMAIL PROTECTED]) wrote:
 Brilliant!
 still... it might take a bit of processing power?

Not really.
Considering that a camera produces bitmaps of 640x480 you only have to
calculate 307200 pixels

If you worried about that just write a little perl script with a for loop
and some silly little calcuation ($val = $somenum- $i) and take the
time before and after the loop.

I do not think that the time function is actaully fine enough to
print out a difference .


snip

jobst




-- 
Bowman: Open the pod bay doors, HAL.

 __, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director
   _ _.--'-n_/   Barrett Consulting Group P/L  The Meditation Room P/L  
 -(_)--(_)=  +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Of web-cams with video recorder etc.

2002-04-28 Thread Terry Collins

Ben Donohue wrote:

...snip..

 Has anyone had any experience with web-cams+video recorders+time lapse using
 Linux as the server?

Search the slug archives.

http://www.woa.com.au/linux/how-tos/webcaminstall.html has notes on all
this (although a bit dated). Look at the bit about Nemesis (might have
changed its name).


-- 
   Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
   email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
   Wombat Outdoor Adventures Bicycles, Books, Computers, GIS

 People without trees are like fish without clean water
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug