Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

matlab code for motion detection with alarming

Status
Not open for further replies.

raja rajeswari

Newbie level 2
Joined
Jan 8, 2014
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
10
hi all,
i am doing a project to detect the motion and alert the guard by alarming by matlab

can you suggest me a codes for motion detection with alert
 

Hi;
I can't offer a whole code but an idea.
You can take snapshots via a web cam, and since consecutive pictures should be the same (in case of no motion), take difference of two images.
ie diff_pic = picture(t+1) - picture(t).
Resulting image should be nearly 0 (black). But here you need some filtering to discard some inevitable effects, such as sensor noise, luminace intensity changes etc.
Than decide if there is a motion in the scene or not.
Hope helps.
Good luck.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top