how to control basler camera frame rate
Ältere Kommentare anzeigen
Does someone is able to control the frame high frame rate of balser camera as well as to trigg it by hardware ?
Antworten (1)
Prasad Mendu
am 18 Jul. 2016
Bearbeitet: Prasad Mendu
am 18 Jul. 2016
To control the frame rate, first access the device's video source using 'getselectedsource' function and then configure the device's frame rate. Refer to the example below as a reference:
% Access an image acquisition device.
vidobj = videoinput('winvideo', 1);
% Access the device's video source and configure the device's frame rate.
% FrameRate is a device specific property, therefore, it may not be supported by
% some devices.
frameRate = 30;
src = getselectedsource(vidobj);
src.FrameRate = num2str(frameRate);
Kategorien
Mehr zu Image Acquisition in Simulink finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!