OptrisOptrisDocumentation

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

RecordingHandle

class optris_sdk.camera.RecordingHandle

A recording in progress, as yielded by Camera.recording.

It exists for stats. The ABI cannot tell you at Camera.start_recording whether the file will be written, and the totals are only final once it is closed -- so the context manager reads them on the way out and leaves them here, where the code after the with block can assert on them.

RecordingHandle — properties

stats

Frame accounting for this recording, as a optris_sdk.recording.RecordingStats.

Inside the with block this is live and still moving. After it, it is the final total, read once the file was closed.

RecordingHandle — methods

__repr__()