GigE Camera will not work when using skype/zoom

조회 수: 6 (최근 30일)
Antony
Antony 2023년 1월 20일
답변: Vidip Jain 2023년 3월 20일
This code works fine, except when your using skype/zoom etc.
I start the code, my camera is 4k, so I get 4 frames per second, then open zoom, then I get:
Time out occurred while trying to get a frame from the camera. Modify the 'Timeout' property to change how many seconds 'snapshot' method waits to return image data.
The timeout is set to 2 seconds.
This has to be a bug of some sort.
g = gigecam(1);
for t=0:100
img = snapshot(g);
imshow(img);
end

답변 (1개)

Vidip Jain
Vidip Jain 2023년 3월 20일
It's possible that the issue you're experiencing is related to how your computer is handling the camera feed and video conferencing software at the same time. Here are a few suggestions that may help:
  • Increase the timeout value: As the error message suggests, you can modify the Timeout property of the gigecam object to increase the number of seconds the snapshot method waits to return image data.
  • Decrease the resolution: If your camera is set to 4K resolution, it may be straining your computer's resources when used in conjunction with other software like Zoom. Try decreasing the resolution of the camera feed to see if that improves performance.
  • Close other programs: Try closing other programs on your computer to free up resources for the camera feed and video conferencing software. This may help improve performance.

태그

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by