GigE Camera will not work when using skype/zoom

2 views (last 30 days)
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

Answers (1)

Vidip Jain
Vidip Jain on 20 Mar 2023
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.

Tags

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!