ライブカメラのフレームレート取得について

MATLABでwebcam()を使いライブカメラを使用しているのですが,その際にライブカメラのフレームレートを取得することは可能でしょうか。

답변 (1개)

Atsushi Ueno
Atsushi Ueno 2021년 11월 12일
편집: Atsushi Ueno 2021년 11월 12일

0 개 추천

% The preview window shows live RGB image from the webcam and displays the camera name, resolution, frame rate, and the timestamp.
% プレビューウィンドウには、ウェブカメラからのライブRGB画像が表示され、カメラ名、解像度、フレームレート、タイムスタンプが表示されます。
cam = webcam;
preview(cam);
プレビューウィンドウの下部にフレームレートが表示されます。
% FrameRate
% A read-only property that displays frames per second for the acquisition.
% Note that some cameras do not support this property, so you may not see it for your device.
% 読み取り専用のプロパティで、撮影時の秒間フレーム数を表示します。
% なお、カメラによってはこのプロパティをサポートしていないものもあるので、お使いのデバイスには表示されないかもしれません。
cam = webcam
cam.FrameRate
ここでは動作確認出来ませんが、上記のオブジェクトが読取専用のFramerateプロパティを持っているとの事です。

카테고리

도움말 센터File Exchange에서 MATLAB Support Package for USB Webcams에 대해 자세히 알아보기

제품

질문:

2021년 11월 11일

편집:

2021년 11월 12일

Community Treasure Hunt

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

Start Hunting!