FPS Image acquisition toolbox

2 vues (au cours des 30 derniers jours)
VaL V6
VaL V6 le 3 Avr 2019
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.

Réponses (0)

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by