Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
Jannik
Jannik am 1 Nov. 2017
Bearbeitet: Jannik am 2 Nov. 2017
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?

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by