Ask your own question, for FREE!
Mathematics 20 Online
OpenStudy (anonymous):

rying to get the video preview from a webcam in matlab. I dont know what Im doing wrong. Can someone help me?

OpenStudy (anonymous):

Make sure you have package for this.

OpenStudy (anonymous):

It is already installed. With an application software I can preview the video. I can even take a snapshot

OpenStudy (anonymous):

this is my code: vid = videoinput('winvideo',1); preview(vid)

OpenStudy (anonymous):

let me try it on my machine

OpenStudy (anonymous):

and this is what I get: ??? Error using ==> videoinput.videoinput There are no devices installed for the specified ADAPTORNAME. See IMAQHWINFO. Error in ==> Untitled1 at 1 vid = videoinput('winvideo',1); ??? Error using ==> videoinput.videoinput There are no devices installed for the specified ADAPTORNAME. See IMAQHWINFO. Error in ==> Untitled1 at 1 vid = videoinput('winvideo',1);

OpenStudy (anonymous):

It might not recognize your driver(webcam)

OpenStudy (anonymous):

Do you have any idea how to fix it?

OpenStudy (anonymous):

I downloaded the driver from the webcam site

OpenStudy (anonymous):

Let me try your code on my computer

OpenStudy (anonymous):

I have another one: %Toma de imagen vid = videoinput('winvideo',1,'YUY2_640x480'); set(vid,'ReturnedColorSpace','rgb'); opcion = 1; while opcion > 0 preview(vid); opcion = input('Digite:\n\n* 0 para salir,\n* 1 para capturar imagen.\n\n'); if (opcion==1) imwrite(getsnapshot(vid),'test2.jpg'); imshow('test2.jpg') end end close all clc it worked well one month ago

OpenStudy (anonymous):

vid = videoinput('winvideo',1); preview(vid) Above piece of code works on my computer, so try re installing your driver

OpenStudy (anonymous):

Ok im gonna restar my computer then. Dont go please

OpenStudy (anonymous):

What are you working on,btw?

OpenStudy (anonymous):

Image processing. Im working on a system that recognizes how many circles in a test have a tick. Then counting them in order to get a score for the student

OpenStudy (anonymous):

And the immage my be taken from a webcam

OpenStudy (anonymous):

ok Im comming back soon

OpenStudy (anonymous):

That's pretty cool, very innovative

OpenStudy (anonymous):

Yeah its working. No much I have to do it for my semester project

OpenStudy (anonymous):

What class is it for?

OpenStudy (anonymous):

Digital signal processing

OpenStudy (anonymous):

Are you EE major?

OpenStudy (anonymous):

Electrical Engineering

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Breathless: Spooky witch but cute
4 hours ago 3 Replies 0 Medals
Arriyanalol: help
4 hours ago 10 Replies 2 Medals
Arriyanalol: @tinydinoUwU stop trying to find a argument u blad lil boy
1 day ago 5 Replies 3 Medals
Jaded012023: Please tell me what you all think of this song
6 hours ago 6 Replies 1 Medal
Arriyanalol: bro how
6 hours ago 2 Replies 3 Medals
Arriyanalol: cant wait for the new bluey movie in 2027
1 day ago 12 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!