etho.services.camera.spinnaker_old#

class etho.services.camera.spinnaker_old.Spinnaker_OLD(serialnumber)[source]#

Supports older FLIR cameras (Flea3, Grasshopper) with only partial support for the Spinnaker SDK.

[summary]

Should set: - continuous acq - anything that optimizes throughput - pixel format - time stamping - init pointer to image

Parameters

serialnumber ([type]) – [description]

get(timeout=None)[source]#

pull image from cam, convert to np.ndarray, get time stamp

Parameters

timeout (Optional[float], optional) – [description]. Defaults to None.

Returns

image as np.array (x,y,c) image_timestamp (in seconds UTC) system_timestamp (in seconds UTC)

Return type

Tuple[np.ndarray, float, float]

Raises

ValueError is sth goes wrong

reset(sleep: float = 10.0)[source]#

Reset the camera system to free all resources.