FPS Image acquisition toolbox

조회 수: 6 (최근 30일)
VaL V6
VaL V6 2019년 4월 3일
Hello,
I'm using the image acquisition toolbox to acquire video from a PAL camera. I'm absolutely sure that the sensor has 25 fps (VLC also confirmed) but when I start the video preview the FPS is stationary around a value of 12.5, as it acquires one frame every two.
I tried using:
% Access an image acquisition device.
vidobj = videoinput('winvideo', 1);
% Configure the number of frames to log.
vidobj.FramesPerTrigger = 50;
% Skip the first few frames the device provides
% before logging data.
vidobj.TriggerFrameDelay = 5;
% Access the device's video source.
src = getselectedsource(vidobj);
% Determine the device specific frame rates (frames per second) available.
frameRates = set(src, 'FrameRate')
but the frame-rate property is not supported.
How can i fix this?
Thank you in advance.

답변 (0개)

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by