image capture using inbuilt laptop webcam

vid = videoinput('winvideo', 1, 'RGB24_640x480'); vid.FramesPerTrigger = 1; preview(vid); ??? Error using ==> videoinput.videoinput at 233 There are no devices installed for the specified ADAPTORNAME. See IMAQHWINFO.
how to remove this error ......can anyone help me with this

Réponses (2)

Image Analyst
Image Analyst le 26 Fév 2012

0 votes

Do you see a list of cameras if you run imaqtool?

4 commentaires

prem preet
prem preet le 26 Fév 2012
no ......im using inbuilt webcam of my laptop
Image Analyst
Image Analyst le 26 Fév 2012
What *does* show up in the "hardware browser" in imaqtool? Anything at all? I'd be surprised if your camera weren't there, but that's what you're insisting is the case. If it's not there then MATLAB won't see it, and Windows (or your operating system) likely doesn't see it either. Are you using Windows? If you are, run Device Manager and open the Imaging Devices category. Does it show up there? If not then Windows doesn't even see it.
Chandra Sekhar Uppu
Chandra Sekhar Uppu le 9 Août 2016
please post your code.
Image Analyst
Image Analyst le 9 Août 2016
Why? It was four and a half years ago. I'm sure he is not still waiting for help.

Connectez-vous pour commenter.

Nona Zhao
Nona Zhao le 7 Nov 2019

0 votes

I thought he might need the following link on "webcam" or "Integrated cam":

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by