4.4

4.4 | 20 ratings Rate this file 499 Downloads (last 30 days) File Size: 1.14 MB File ID: #18151
image thumbnail

Motion Detection in a video

by Lokesh Peddireddi

 

28 Dec 2007 (Updated 24 Aug 2009)

motion detection in a video or live objects

| Watch this File

File Information
Description

this programs identifies the moving objects in a video ( continious frames) and displays the moving object in a window.

when you execute this code just check whether the input video is supported in matlab r not. so for the testing i am attaching a zip file which contains the code and sample video that i have found in internet.

i am checking it regularly dont know if u r having problem in it

Acknowledgements
This submission has inspired the following:
Intellicam(Real time moving object tracker)
Required Products Image Acquisition Toolbox
Image Processing Toolbox
MATLAB release MATLAB 7.4 (R2007a)
Other requirements u can also use this code as algorithm for other programming environments as i have used very less matlab functions.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (39)
02 Jan 2008 Joseph Hollmann

The link to the code does not appear to be working.

02 Jan 2008 Eryanto Prabowo

I can't download this file

03 Jan 2008 Michalis Vousdoukas

Code is empty! Please try uploading again...

19 Jan 2008 Satyendra Mishra

good project

26 Jan 2008 Nguyen Quang

You may miss some m.files,could you up load again?
Thank you!

06 Feb 2008 Amrita M

Good Project...have u tried this one with real-time video input??

26 Feb 2008 tr l

good, thank you!
but the limitation is that it can only track one moving object and the background should be still.

24 May 2008 manos komninos

i can t work with video 640x480 why?

03 Jun 2008 Lukas junior

This is great Program, bath how can describe hoh working exactly this Motion detecion becasue I don`t understand this source soube

11 Jun 2008 Norman V

Excellent!

24 Jun 2008 zeshan ahmed

its a good code u have written , but the problem i am facin g is while interfacing it with live camera it gives an error ''disp (toplen)" it is not tracking though it taking input video... Can you help me with this? and whether u have tested your code for live videos using webcams...i will be really great full if u mial me back...at shani604@gmail.com....waiting for your reply

23 Sep 2008 santhosh kumar kadarla

sir thank u for keeping such a good project code in user available website....I am doing a project on real time object tracking in video images using C language..and I am trying to do it in real time (using live video) and hardware kit (IDK) ...to interface with these kits I need the code to be written in C language so I am facing problem in writing the code in C wich is necessary for Code composer studio .....I thnk u may know about all these things.....can u help me sir......further

05 Oct 2008 chiru jeeva

fine...... needs more....

22 Oct 2008 Xu FengLiang

i am very appreciate yours sharing.
and hope you give me a explain about what is the result numbers mean

21 Nov 2008 Arun sr

hai sir it so gud....
working very well
i would like to do it as my project..
can you send me the details of how it is working..
my email id arusubbi1@gmail.com

22 Nov 2008 Jim Petter

It's very grateful to download your demo,which is very useful for me!Thank you very much.However,after I read the code,I don't know the basic principle for you to track the target.Can you send the details of how it is working..
my email id zhangy0284@hotmail.com

26 Dec 2008 ashok p

hai sir it works well.This will helpful for my project.can u send details of the paper......ashok_ece56@yahoo.co.in

09 May 2009 kiran malik

Hi Sir ;its realy great. I'm doing a project on this topic so i need your help if you can send me the details about its working and about how to track the moving object in the video. In short if you can send me a description of the algoritham that how its working , i'l be very much obliged .you can send it on hard_nut60@yahoo.com. thanks

02 Jun 2009 Shima

Hi, thank you for sharing your code.I executed it and it worked very well. For my project I need a real-time motion detection for the video from my webcam. Is it possible for you to send me the code or to guide me on how to change the code? I thank you in advance.
my email is " sh.lesoleilbrillant@gmail.com "

05 Oct 2009 Jimmy

Hey, I just saw your post. The job you've done is excellent. I am doing a project which aim is to identify the position and sizes of cells in images and track these cells over a movie sequence. Can you give me some ideas and help of how to implement it. My e-mail is testbest1@yahoo.com. Thank you

06 Oct 2009 rimie asaari

Hi, could you recomend the suitable video codec that can work well with this matlab. i am trying to execute the code, but having problem with the codec. thanks..
my_email: mohdshahrimie@yahoo.com

11 Jan 2010 tic  
11 Jan 2010 Deepu aaa

Hello sir,thank you for keeping such a wonderful project which will help to beginners like me.I wanted it to implement it with real video captured by live web cam. Is it possible you to send me the code or guide me about how to change the code

25 Feb 2010 M

hi ,
i am new in MaTlab arena.....and i am interested about it. Now i m doing a coursework on Multimedea systems. Could any one tell me please how can I get segments the moving object and that superimposes each object its bounding box. Let me know in detail please. I am waiting for response.

thanx very much indeed.

09 Aug 2010 Mohamed Ali Alaswed  
10 Oct 2010 karim Budabuss

,thank you for keeping such a good project.I wanted it to implement it with real video captured by live web cam. Is it possible you to send me the code or guide me about how to change the code, also can u send me some explanation of the algorithm you used. email: k.budabuss@gmail.com

10 Nov 2010 Saša Mandi?

Hi!
I need an algorithm which detect motion (face, arm, leg, etc.) - ROI in video!
If anybody have or know how to write it please contact me on my e mail!
I need to do this for my work an collage but i don't know how to write it!
Thank you very much!

09 Jan 2011 Manjunath NM

Gr8 work, but i have problem with the aviread function. I'm using Matlab R2008b
kindly help.

07 Apr 2011 Nikolay S.

While I appreciate the submitting, I must say the code fails to work, and is written in a non effective manner (memory utilization, repeating code, not commented, with many commented out lines). I'm working a while here to make it run :(

23 May 2011 Dhanushka Herath  
23 Sep 2011 Meenu

Sir I have to track cars in the vediowhose back ground is not static... i am going to simulate in SCILAB... i am planning to follow your proposed algorithm... will it works for that... I tried to simulate in matlab 2009... but getting some error (reshape should contain same number of arguments always )

15 Nov 2011 Jennifer

When I try and run it with the sample video I get the error "??? Error using ==> run at 5. Initialization failed. (No combination of intermediate filters could be found to make the connection)."

Anyone know what the cause is?

18 Nov 2011 ben

Plz, I can't download this file.

18 Nov 2011 ben

Plz, I can't download this file.
mail. mee89@hotmail.fr

20 Nov 2011 Balamurali

Can you please send the details of this project to my mail t.balamurali86@gmail.com

03 Dec 2011 blog 536

Sir i have downloaded the code and run it in matlab 7.8 (R2009a). it gives me the following error, can u correct it plzz ???

>> run
input video
??? Error using ==> aviread at 73
Unable to locate decompressor Indeo5 to decompress video stream.
See Mathworks Technical Solution 1-4G50QZ for more info.

Error in ==> run at 5
avi = aviread('samplevideo.avi');

Thanks.

03 Dec 2011 blog 536  
12 Dec 2011 Megha Shesha  
23 Dec 2011 rami

Same problem as blog 536. Any solution ?

Please login to add a comment or rating.
Updates
03 Jan 2008

sorry for the inconvience. i have updated the files. check it now

28 Jan 2008

Updated to such that can be implemented in any language as i have used very few matlab function.

29 Jan 2008

updated more functions

24 Aug 2009

I have updated the code with a project report with other software. But the basic structure of the project report submitted is from matlab and can be help ful during the lab work

Tag Activity for this File
Tag Applied By Date/Time
morphology Lokesh Peddireddi 22 Oct 2008 09:40:45
segmentation Lokesh Peddireddi 22 Oct 2008 09:40:45
tracking Lokesh Peddireddi 22 Oct 2008 09:40:46
motion detection Lokesh Peddireddi 22 Oct 2008 09:40:46
image process Lokesh Peddireddi 22 Oct 2008 09:40:46
live Lokesh Peddireddi 22 Oct 2008 09:40:46
moving objects Lokesh Peddireddi 22 Oct 2008 09:40:46
video Lokesh Peddireddi 22 Oct 2008 09:40:46
video processing Jim Petter 22 Nov 2008 02:35:56
image process Ahmad 14 Feb 2009 15:52:17
video Vinayagam Mariappan 14 Apr 2009 08:50:00
moving objects Vinayagam Mariappan 14 Apr 2009 08:50:05
motion detection Vinayagam Mariappan 14 Apr 2009 08:50:14
segmentation Oluwatoyin Popoola 11 May 2009 04:40:45
image process Bob Yiu 15 May 2009 10:17:44
live Bob Yiu 15 May 2009 10:17:48
motion detection yasmin begum 23 Sep 2009 02:33:55
tracking yasmin begum 23 Sep 2009 02:34:04
morphology yasmin begum 23 Sep 2009 02:34:16
moving objects yasmin begum 23 Sep 2009 02:34:46
image process Dorothea Hrabovszki 08 Oct 2009 03:26:50
tracking KARTHIK RAMACHANDIRAN 26 Oct 2009 04:32:02
image process Mursel Dogru 20 Dec 2009 18:41:11
motion detection kuoping 29 Jun 2010 07:02:28
live Jason 29 Sep 2010 09:45:45
moving objects Johan 31 Oct 2010 07:30:34
motion detection miftahur rohman 17 Dec 2010 03:03:11
image process Hussien 29 Mar 2011 10:54:56
image process BURAK 30 May 2011 03:04:45
live Valerio Pereno 14 Jun 2011 19:49:59
motion detection julian Franco 06 Aug 2011 23:40:46
image process enkhee enkheee 28 Oct 2011 10:06:14
motion detection ben 18 Nov 2011 11:52:39
motion detection Balamurali 20 Nov 2011 11:17:44
video processing Balamurali 20 Nov 2011 11:17:54
image process geekotronics 12 Dec 2011 08:45:43
could you give me your file for me thank Pan 18 Dec 2011 10:26:17

Contact us at files@mathworks.com