Matlab object tracking using webcam tutorial Matlab ( detect red )

preview_player
Показать описание
A complete tutorial with source code explained using live video feed from webcam and track red colored objects.
We use image acquisition tool box.

For more tutorials and matlabcode
Рекомендации по теме
Комментарии
Автор

Thanks so much bro, It's really helpful

Автор

Good tutorial!!
dude can we measure distance from highlighted region to camera???
i will appreciate your response !!

Canada
Автор

is there anyway to speed up the lag ? i am getting a pitch black snapped image and no movement neither any red boxes.even my preview window is frozen... idk what the issue is, neither did i find any good solution to this in net. I AM TRYING TO DETECT BLACK MARKED POINTS ON A MOVING PAPER AND TRACK THEIR COORDINATES, pleaseplease please help me out on this... thanks great video

stevej
Автор

Can I use this code for hand tracking ??

tayyabaabro
Автор

I have tried to connect an external webcam to my laptop to take video feed from that. At first i faced some problem but when i dig i found a solusion.
I wrote "imaqtool" command in the command window of matlab and select my desier webcam and resulation.
If someone is faceing this kind of problem, he/she can try this.

BishalKarmakarVlogs
Автор

Why do I receive a black preview window? The preview window opens but all I see is a black image.

hebaalbalushi
Автор

I unfortunately got thoses errors

Error using imaqdevice/set (line 72)
Invalid property: 'RetrunedColorspace'.
Type 'imaqhelp' for information.

Error in Red_Obj_Track_Test_v01 (line 4)
set(vid, 'RetrunedColorspace', 'rgb')

What should I do ?

cryppsomar
Автор

Hello Sir.
Thanks for the tutorial.
Can you please tell me, if I want to detect anything with 'Green color' for that what changes I will have to make in the code?
Please tell me asap.
Thanks a lot.

hassamwaheed
Автор

Sir program show error

Error in aac (Line 1)
vid=vidinput('winvideo', 1, 'YUY_320*240);


And I type
Vid=vidinput('winvideo', 1, YUY_320*240);

sainzgupta
Автор

Thank you very much, really appreciate your effort and knowledge Thank you :)

amratanshu
Автор

I face a problem while running. It states "??? Undefined function or method 'RED' for input arguments of type 'char'." Does anyone know how to fix that

ulugbekabdurashidov
Автор

sir while running this code it is showing this error
??? Error using ==> imaqdevice.start at 91
Multiple VIDEOINPUT objects cannot access the same device simultaneously.

Error in ==> webcam at 5
start(vid);

laveshjain
Автор

i have installedimage acquisition boxes but it is giving the error as "There are no devices installed for the specified ADAPTORNAME."

praveenvadagave
Автор

Hi, i was using your code, with blue and was working ok, but I can't use it with green, how can i solve this?

mitsutodd
Автор

I am unable to run the code, some memory allocation problem it says. Please help me out! :)

iffaturridwan
Автор

I am having an error wherever bw is written ca you just help me out of this situation

rittwik
Автор

For all those who are facing : The FORMAT specified is not supported by this device. See
IMAQHWINFO(ADAPTORNAME).
click on hyperlinked part of error it will redirect you to addons page where you can download required add on and continue.

shivamsahil
Автор

i am doing a coins detection using webcam
do u have code that related to this topic
much appreciated

theseaemperor
Автор

how to fix this error ?

Error using videoinput (line 319)
The FORMAT specified is not supported by this device. See
IMAQHWINFO(ADAPTORNAME).

Error in Untitled2 (line 1)
vid=videoinput('winvideo', 1, 'YUY2_320x240');

crazyma
Автор

Sır ı m taking that error '' Error in Untitledtez (line 16)
diff_im=im2bw(diff_im, 018); '' and program says 'im2bw' is not recommended use 'imbinarized' instead can you help me

mertunel