Skip to content

exposure_lock

exposure_lock #

The video-capture exposure-lock enum.

ExposureLock #

Bases: Enum

Whether a video capture freezes exposure and white balance.

  • AUTO — the camera keeps adapting through the clip (default).
  • LOCKED — the auto algorithms converge while framing, then lock the instant recording starts, so every frame is photometrically consistent. Focus stays automatic either way. The ARKit posed captures lock unconditionally, since offline reconstruction depends on it.
Source code in capturegraph-lib/capturegraph/types/scalars/imaging/exposure_lock.py
class ExposureLock(Enum, name="edu.cornell.exposure_lock"):
    """Whether a video capture freezes exposure and white balance.

    - ``AUTO`` — the camera keeps adapting through the clip (default).
    - ``LOCKED`` — the auto algorithms converge while framing, then lock the
      instant recording starts, so every frame is photometrically consistent.
      Focus stays automatic either way. The ARKit posed captures lock
      unconditionally, since offline reconstruction depends on it.
    """

    AUTO = "auto"
    LOCKED = "locked"