Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

I can't run my laptop camera in matlab?

Status
Not open for further replies.

Eng_Bandar

Junior Member level 3
Joined
Aug 7, 2010
Messages
31
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,472
Hi all,

I tried connect my laptop camera by Matlab it was work but now if I try to run it matlab give me error this error

??? Error using ==> imaqdevice.preview at 181
Multiple VIDEOINPUT objects cannot access the same device simultaneously.


Also if I use imaqtool same error

Please any help
 
Last edited:

you should notice that laptop camera is defferent with usb camera. So you use command :
>> dev_info=imaqhwinfo('winvideo',1)
>> celldisp(dev_info.SupportedFormats)

ans{1} =

YUY2_160x120


ans{2} =

YUY2_176x144


ans{3} =

YUY2_320x240


ans{4} =

YUY2_640x480
then you use :
>> vid=videoinput('winvideo',1,'YUY2_320x240');

I was successful.
Sincerely.
Hong Long (Vietnamese)

---------- Post added at 11:25 ---------- Previous post was at 11:24 ----------

honglong77qn
 
Last edited:

Thank you baulong for your helping
my problem solved
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top