OptrisOptrisDocumentation

Documentation/OTC SDK/optris_sdk — Python API referencev12.0

PipelineChange

class optris_sdk.camera.PipelineChange(NamedTuple)

A camera's pipeline changed while it was open.

Delivered to Camera.on_pipeline_change. The pipeline is chosen while the camera opens and changes afterwards in one case: a GPU pipeline that fails to initialize, or does not return within the time bound (OTC_GPU_INIT_TIMEOUT_MS, 15 s by default), at an operation-mode switch, a frame-format change or a reconnect, moves the camera to the CPU pipeline. The camera keeps streaming and keeps its settings.

previous and current are PIPELINE_* kinds and never equal; reason is the PIPELINE_REASON_* that Camera.pipeline_info reads after the change, and reason_text the same in words.