Each image acquired by the camera is transferred to the computer as a data block of UDP packets, which are processed by MATLAB. For a lower CPU load during image acquisition and to prevent dropped frames, you can configure the camera streaming parameters (packet size and packet delay) in MATLAB.
The toolbox configures the packet size automatically after the connection between MATLAB and the camera has been established.
The packet size value can also be configured manually
by setting the
PacketSize property of the
Set the packet size value to the largest size that the network adapter and camera can handle (not larger than the Ethernet adapter jumbo packet size configured in Gigabit Adapter Settings).
To prevent dropped frames, you can configure the camera
to introduce a time delay between the image data packets by setting
PacketDelay property of the
Optimum values for the packet delay depend on the
packet size, acquired frame size (image height and width), specified
pixel format (for example
'Mono8'), camera frame
rate, and other camera-specific settings.
For details about determining the recommended packet delay value, and setting the packet size and packet delay values in MATLAB, see https://www.mathworks.com/matlabcentral/answers/91834.