Error using webcam/preview Too many input arguments.
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi guys, My name is Ammar Saja. I am a student. I have this kind of problem again :
VidObj = webcam (1);
handles.VidObj = VidObj;
% VidRes = get (handles.VidObj, 'Resolution');
% NBands = get (handles.VidObj, 'NumberOfBands');
axes (handles.axes1)
HImage = image (zeros (640,480, 1));
preview (handles.VidObj, hImage)
Set (VidObj, 'returnedcolorspace', 'rgb');
guidata (hObject, handles);
when I dock appears in the Command Window like below:
Error using webcam / preview
Too many input arguments.
Error in Camera> pushbutton1_Callback (line 118)
preview (handles.VidObj, hImage)
Error in gui_mainfcn (line 95)
feval (varargin {:});
Error in Camera (line 46)
Gui_mainfcn (gui_State, varargin {:});
Error in
@ (hObject, eventdata) Camera ('pushbutton1_Callback', hObject, eventdata, guidata (hObject))
Error while evaluating uicontrol Callback
>>
And displays a blue image in the Tag: axes1.
this is the actual picture.
If the above stage succeeds how to photograph the image from Tag: axes1 and display in Tag: axes2. thank you for helping me.
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Image Preview and Device Configuration dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!