필터 지우기
필터 지우기

How can i use ds-u02 webcam to appear in axes?

조회 수: 1 (최근 30일)
Diec Thuan
Diec Thuan 2021년 9월 16일
Hi guys, I have a code
The purpose is to make the camera appear on axes, but when the button is clicked, the camera lights up blue but the axes still can't show the video.
function pushbutton2_Callback(hObject, eventdata, handles)
%xe ra
clc;
clearvars;
vid1 = videoinput('winvideo', 1);
handles.axes2 = suplot(1,2,1);
axes(handles.axes2);
handleToImageInAxes2 = image(zeros(800,600));
preview(vid1, handleToImageInAxes2);
Anyone have any new ideas?

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for IP Cameras에 대해 자세히 알아보기

제품


릴리스

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by