필터 지우기
필터 지우기

Webcam Image Acquisition - snapshot function

조회 수: 22 (최근 30일)
Cillian Hayde
Cillian Hayde 2020년 12월 10일
답변: Abhisek Pradhan 2020년 12월 13일
Hi,
I am using the snapshot function to acquire images. I am using a USB webcam to acquire the images.
Unfortunately, the snapshot function appears to operate slower than desired.
For the code below, I get approximately 64 milliseconds for each snapshot which translates to a frame rate of approximately 16.
clear
IntCam = webcam("Webcam C170");
f = @()SnapShot(IntCam);
t = timeit(f)
Seconds = 1;
FrameRate = Seconds/t
function img = SnapShot(RaspCam)
img = snapshot(RaspCam);
end
On the Matlab side of things, is there any implementation solutions that can speed up image acquisition via a webcam?
Thanks in advance for any suggestions
Regards
Cillian

채택된 답변

Abhisek Pradhan
Abhisek Pradhan 2020년 12월 13일
Here is a question related to Image Acquisition with high speed and fast capture.

추가 답변 (0개)

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by