Home » Community » Coffee corner » webcam and motion detection
webcam and motion detection [message #38913] |
Sun, 27 January 2013 11:58  |
 |
forlano
Messages: 1207 Registered: March 2006 Location: Italy
|
Senior Contributor |
|
|
Hello,
I have a dream. I want my software, connected to a webcam, be able to draw a pixel on the window when something, say a red led, is moving in front of it. So that I could draw moving this led.
I suspect it is not difficult in principle but several library are necessary among which a motion detection one.
Does anybody have a suggestion?
Thanks,
Luigi
[Updated on: Sun, 27 January 2013 11:59] Report message to a moderator
|
|
|
Re: webcam and motion detection [message #38914 is a reply to message #38913] |
Sun, 27 January 2013 12:59   |
|
Hi Luigi,
I use a GPL software called simply motion. It is a simple, but very powerful tool.
I'm not sure if it can work on windows or if it can be used as library, but perhaps you can get at least some ideas... The sources are just a few files. As far as I can tell it uses v4l and sdl.
Honza
|
|
|
Re: webcam and motion detection [message #38917 is a reply to message #38914] |
Sun, 27 January 2013 13:56   |
|
Hello Honza!
I use same configuration and wrote player for motion.
But how you are decide problem with multiply usb cameras under linux?
I can use only 1 camera in full size mode. But 2 cameras only in 320x288 px.
(If you use usb camera.)
PS
My SDL player:

PSPS
Now I use analog cameras
SergeyNikitin<U++>( linux, wine )
{
under( Ubuntu || Debian || Raspbian );
}
[Updated on: Sun, 27 January 2013 13:56] Report message to a moderator
|
|
|
Re: webcam and motion detection [message #38918 is a reply to message #38917] |
Sun, 27 January 2013 14:41   |
|
sergeynikitin wrote on Sun, 27 January 2013 13:56 | Hello Honza!
I use same configuration and wrote player for motion.
But how you are decide problem with multiply usb cameras under linux?
I can use only 1 camera in full size mode. But 2 cameras only in 320x288 px.
| Sorry, I never tried with more than one camera, so I can't really help you...
Honza
|
|
|
|
Goto Forum:
Current Time: Fri Apr 25 12:08:49 CEST 2025
Total time taken to generate the page: 0.00800 seconds
|