Timeout Error for getsnapshot(obj) function?

조회 수: 1 (최근 30일)
K M Ibrahim Khalilullah
K M Ibrahim Khalilullah 2017년 8월 4일
I am using DFK 33UX290 camera. My matlab version is 2015b. My program looks like this:
obj=videoinput('winvideo',1,'RGB6_640x480');
set(obj,'TriggerRepeat',inf) ;% set graphics object properties
set(obj,'ReturnedColorSpace','rgb');
obj.FrameGrabInterval = 5;
start(obj);
data = getsnapshot(obj);
flushdata(obj);
imshow(data);
My program is OK for 'RGB6_640x480'. but when I change the format for 'RGB24_1920×1080', it shows Timeout Error on getsnapshot() function.
Also, I changed the obj.Timeout properties, but it becomes very slow, it does not work properly!

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by