i want smaler video preview resolution but keep the FPS, timestamp note

1 次查看(过去 30 天)
Hey,
i want to Change the Video Resolution of the preview window. cause it´s bigger than my Screen. i tryed
g = videoinput('gige',1,'Mono12Packed');
set(figure('Name', 'preview'), 'Units', 'normalized', 'Position', [0.25, 0.17, 0.51, 0.74]);
set(findall(gcf,'Typ','uimenu'),'Visible','off');
vidRes = g.VideoResolution;
nBands = g.NumberOfBands;
hImage = image(zeros(vidRes(2), vidRes(1), nBands));
preview(g, hImage);
works fine but i cant see the FPS, Timestamp etc anymore...
someone an idea?

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by