Functions | Variables
mono_camera_control.cpp File Reference
#include <iostream>
#include "depthai/depthai.hpp"
Include dependency graph for mono_camera_control.cpp:

Go to the source code of this file.

Functions

static int clamp (int num, int v0, int v1)
 
int main ()
 

Variables

static constexpr int EXP_STEP = 500
 
static constexpr int ISO_STEP = 50
 
static std::atomic< bool > sendCamConfig {false}
 
static constexpr float stepSize = 0.02f
 

Function Documentation

◆ clamp()

static int clamp ( int  num,
int  v0,
int  v1 
)
static

Definition at line 22 of file mono_camera_control.cpp.

◆ main()

int main ( )

Definition at line 28 of file mono_camera_control.cpp.

Variable Documentation

◆ EXP_STEP

constexpr int EXP_STEP = 500
staticconstexpr

Definition at line 19 of file mono_camera_control.cpp.

◆ ISO_STEP

constexpr int ISO_STEP = 50
staticconstexpr

Definition at line 20 of file mono_camera_control.cpp.

◆ sendCamConfig

std::atomic<bool> sendCamConfig {false}
static

Definition at line 26 of file mono_camera_control.cpp.

◆ stepSize

constexpr float stepSize = 0.02f
staticconstexpr

This example shows usage of mono camera in crop mode with the possibility to move the crop. Uses 'WASD' controls to move the crop window, 'T' to trigger autofocus, 'IOKL,.' for manual exposure/focus: Control: key[dec/inc] min..max exposure time: I O 1..33000 [us] sensitivity iso: K L 100..1600 To go back to auto controls: 'E' - autoexposure

Definition at line 16 of file mono_camera_control.cpp.



depthai
Author(s): Martin Peterlin
autogenerated on Sat Mar 22 2025 02:58:19