White Object Detection and Tracking in MATLAB

preview_player
Показать описание


This Video shows how to detect and track white colored object in LIVE video using MATLAB.

Program Name : White Object Detection and Tracking
Author : Arindam Bose
Description : How to detect and track red objects in Live Video
Copyright : © Arindam Bose, All rights reserved.
License : Open Source, Freeware
For further details:
Рекомендации по теме
Комментарии
Автор

Awesome video, I'll try to learn from your code to put it into my project! Thanks a lot!

luiztapparo
Автор

Yes, I have understood your problem, R2010a release was not free of bugs, many of my friends and students faced problem like you. It contains Image acquisition toolbox but does not properly support some new functions. You can switch to 'videoinput' function instead of 'imaq.VideoDevice' to acquire the stream. In that case you have to use function instead of 'rgbFrame=step(vidDevice)' to get a frame from the stream. Change this two lines and use this algorithm.

ArindamBose
Автор

Read the error that you got in the command window. My guess is that it is telling you to switch the YUY2_1024x800 with another supported format. Try RGB24_640x480

This format worked for me.

brandonhurd
Автор

Did you put the code intact? I think you incorporated some function Base() into the code which you didn't defined. In such case only you will be getting this kind of error. I didn't use any function 'Base()' in my code. So search for your new function Base() and define it properly. If you have further problem, you can mail me your code, I can assist you. My mail id is given in the description.

ArindamBose
Автор

I liked your video and I tried do the same, but I'm having problens when I run the program show me this menssage: "??? Undefined function or method 'Base' for input arguments of type 'char'."
what I do ?

katmagal
Автор

Yes I did. I have Changed the webcam code.
how do I undone this function Base() ?

katmagal
Автор

I think the background codes are not matching. I am using MATLAB R2012a. Some background function is calling Base().
Can you mail me the full error report? I have to diagnosis the report.Then only I can tell you how to undone it.

ArindamBose
Автор

Hi Adam,

I'm italian student, sorry for my english. I wach this video on youtube.
Dissertation title is : identify recognize moving objects in a video with matlab.
Can you help me ?

centurione
Автор

Can you help me?

This is my error:

Error in ==> white at 10
vidDevice = videoinput('winvideo', 1,
'YUY2_1024x800', ... % Acquire input video stream

loganlaszczyk