Code covered by the BSD License  

Highlights from
Intellicam(Real time moving object tracker)

4.25

4.2 | 8 ratings Rate this file 98 Downloads (last 30 days) File Size: 4.21 KB File ID: #27576
image thumbnail

Intellicam(Real time moving object tracker)

by

 

The above code used to track the real time moving objects

| Watch this File

File Information
Description

Hey what up?
     Here s my tiny project code which tracks the real time moving object using any webcam or surveillance cam ,it can we wireless as i used wireless surveillance camera which is mounted on the stepper motor to track the object even if the object is going out of camera's field of view(FOV),to test or use this project you need PIC 16f877a/887 microcontroller ,build and burn the assembly code given in the file by removing those % symbols...if using surveillance cams with composite out connect the video out to TV tuner card which in turn connects to PC via USB and connect the serial cable between the PC and PIC board ,as matlab communicates with the PIC through UART.you can also make your model completely wireless by connecting RF transceiver to UART of the PIC and PC as we did that in our model.As a result your cam will track dynamically the moving objects by turning the cam left or right tht depends on u r moving object,one disadvantage is that my code will work only if moving object is present in FOV of cam else it will throw centroid error......LOKU

Acknowledgements

Motion Detection In A Video inspired this file.

Required Products Image Acquisition Toolbox
Image Processing Toolbox
Computer Vision System Toolbox
MATLAB release MATLAB 7.9 (R2009b)
Other requirements PIC microcontroller,high speed PC with sufficient RAM
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (21)
29 Jul 2013 Ayaz Ullah Sharif

Same error is showing. Plz help me
cd = s.Centroid

12 Apr 2013 Akash

Error in ==> lokwebcamtrack at 29
s = regionprops(bw2, 'centroid');

17 Nov 2011 amey patil

How is UART playing a role in this project??
Means how serial communication initiated using MATLAB

08 Nov 2011 Sujin Wanchat  
22 Jul 2011 Ryan Michael Fabayos

does it work with MATLAB 2011b? without the required toolbox programs?

13 Jul 2011 Bodhisattwa Chakraborty

Dear Lokesh...this is nice piece of work and thanks a ton for sharing this with us. I am using this program but getting many centroid points around the moving parts. I want to know are you also getting the same output as me? I am using MATLAB 7.0 r2010 version. You can mail me to my mail id bodhisattwa.chakraborty@gmail.com. Thanks in advance.

04 Jul 2011 ABHISHEK L

Dear Lokesh,

Your work is very good. Can you please provide more details about the algorithm that you have used.Any technical papers/references will be really useful.

Thanks a lot!!

16 May 2011 islam alabbasy  
28 Feb 2011 donny jason

Sorry there, which port are you using to send the data to the stepper motor?i use to connect it to RA0,RA1,RA2 and RA3? Is this method correct? Thank you.

28 Feb 2011 donny jason

I need help with the serial communication. I'm not quite understand with the following command:

if (cd(1)<=20)
fprintf(ser, '%s','1');
%cd(1) because we r considering width i.e %X,u can change your threshold's
elseif (cd(1) >= 330)
fprintf(ser, '%s','2');
end

28 Feb 2011 donny jason

thank you Lokesh Golla, I add another wiener filter, the cd=s.Centroid already solve.

22 Feb 2011 SUDHAKAR AKKI

keka out put

12 Feb 2011 Lokesh Golla

@DONNY JASON

UNLOCK MEANS TO REMOVE '%' TO MAKE CODE LINE ACTIVE

12 Feb 2011 Lokesh Golla

@LEE
USE SERIAL INTERFACE AND READ THE DATA FOR PIC...IF YOU DONT OF SERIAL INTERFACE YOU CAN USE USBTOPIC CONVERTER.YOU CAN USE EMBEDDED TOOLBOX IF YOU WANT OR DIRECTLY YOU CAN READ DATA FROM PIC USING FUNCTIONS AVAILABLE

11 Feb 2011 donny jason

unlock means a new command?

25 Jan 2011 Lee

Hi, I got a challenge here..
if I wan to implement to PIC using MATLAB. I kind of blur here, Any additional toolboxes/software needed in order to do that?

19 Jan 2011 Lokesh Golla

@above
First determine your noise type whether it is salt and pepper noise or gaussian noise ...suitably unlock medfilt2 or add other noise reduction filter

18 Jan 2011 Lee

Hi, great work. But I facing with error here.

Error in ==> lokfinal at 43
cd - s.Centroid

how to unlock noise filter quote as you mention ya?

09 Nov 2010 Lokesh Golla

@above
Pls decrease the back ground noise or use decent backgrounds for best results where light intensity is uniform ...better to unlock noise filter quote's in case of error's

06 Oct 2010 Eng_Bandar

wow, it is very good

buy after run this error come

??? Too many outputs requested. Most likely cause is missing [] around
left hand side that has a comma separated list expansion.

Error in ==> lokfinal at 43
cd = s.Centroid

how can I solve it?

thank you.

01 Oct 2010 akash

wow!!was really nice.
can u tell me where u learned this..m also thinking to do d same//it wll be really helpful

Contact us