Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » webcam and motion detection
webcam and motion detection [message #38913] Sun, 27 January 2013 11:58 Go to next message
forlano is currently offline  forlano
Messages: 1114
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 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1779
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

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 Go to previous messageGo to next message
sergeynikitin is currently offline  sergeynikitin
Messages: 741
Registered: January 2008
Location: Moscow, Russia
Contributor

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:
index.php?t=getfile&id=4039&private=0

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 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1779
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

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
Re: webcam and motion detection [message #38920 is a reply to message #38918] Sun, 27 January 2013 15:51 Go to previous message
sergeynikitin is currently offline  sergeynikitin
Messages: 741
Registered: January 2008
Location: Moscow, Russia
Contributor

Sad
I've found 1 variant - recompile uvc kernel driver. But it very difficult for me.

Search is life........


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
Previous Topic: How valuable is a C++ programmer where you live?
Next Topic: menace WS.Reputation.1 from symantec/norton
Goto Forum:
  


Current Time: Tue Jan 26 21:52:33 CET 2021

Total time taken to generate the page: 0.01332 seconds