Firmware (namespace)

Free functions for inspecting and updating camera firmware.

See Zivid::Firmware in the C++ API reference.

See Zivid::NET::Firmware::Updater in the C# API reference.

update(camera: Camera, progress_callback=None) None

Update camera firmware.

If the current API requires a different firmware than what is present on the camera, the firmware will be updated to this version. The function throws if the camera is connected, or if the camera is already up to date. Call is_up_to_date() first to check if the camera is up to date.

参数:
  • camera -- The camera to be updated.

  • progress_callback -- A callback function to track progress of update. The callable is taking a float and a string as progress and description respectively.

is_up_to_date(camera: Camera) bool

Check if the firmware on the camera is of the version that is required by the API.

参数:

camera -- The camera to check the firmware of (must be in disconnected state)

返回:

A bool that is True if the firmware is up to date

See also