how to control basler camera frame rate

조회 수: 4 (최근 30일)
Jean-Christophe COMTE
Jean-Christophe COMTE 2016년 7월 3일
편집: Prasad Mendu 2016년 7월 18일
Does someone is able to control the frame high frame rate of balser camera as well as to trigg it by hardware ?

답변 (1개)

Prasad Mendu
Prasad Mendu 2016년 7월 18일
편집: Prasad Mendu 2016년 7월 18일
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);

Community Treasure Hunt

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

Start Hunting!

Translated by