|
| | DEVICE_TIMESTAMP = _MetadataKeyInfo("DeviceTimestamp", int, ctypes.c_uint64) |
| |
| | DEVICE_FRAME_ID = _MetadataKeyInfo("DeviceFrameID", int, ctypes.c_uint64) |
| |
| | BINNING_HORIZONTAL = _MetadataKeyInfo("BinningHorizontal", int, ctypes.c_uint64) |
| |
| | BINNING_VERTICAL = _MetadataKeyInfo("BinningVertical", int, ctypes.c_uint64) |
| |
| | ROI = _MetadataKeyInfo("Roi", Rectangle, ctypes.c_void_p) |
| |
| | DEVICE_EXPOSURE_TIME = _MetadataKeyInfo("DeviceExposureTime", float, ctypes.c_double) |
| |
| | SYSTEM_TIMESTAMP = _MetadataKeyInfo("SystemTimestamp", int, ctypes.c_uint64) |
| |
| | DEVICE_EXPOSURE_TIME_SEQUENCE = _MetadataKeyInfo("DeviceExposureTimeSequence", list[float], list[ctypes.c_double]) |
| |
| | DEVICE_GAIN = _MetadataKeyInfo("DeviceGain", float, ctypes.c_double) |
| |
| | DEVICE_GAIN_SEQUENCE = _MetadataKeyInfo("DeviceGainSequence", list[float], list[ctypes.c_double]) |
| |
Enumerates all compile-time known metadata keys.
Each enum value carries both:
- A string identifier (used internally in Metadata).
- The expected Python type of its value.
This makes it easy to use type-safe keys without an extra trait class.
Example::
key = MetadataKey.DEVICE_TIMESTAMP
print(key.string_value) # outputs: device_timestamp
print(key.type) # outputs: <class 'int'>