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

Answers (2)

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

4 Comments

no ......im using inbuilt webcam of my laptop
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.
please post your code.
Why? It was four and a half years ago. I'm sure he is not still waiting for help.

Sign in to comment.

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

Asked:

on 26 Feb 2012

Answered:

on 7 Nov 2019

Community Treasure Hunt

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

Start Hunting!