Classes | Functions | Variables
image_align.cpp File Reference
#include <chrono>
#include <opencv2/opencv.hpp>
#include <queue>
#include "depthai/depthai.hpp"
Include dependency graph for image_align.cpp:

Go to the source code of this file.

Classes

class  FPSCounter
 

Functions

int main ()
 
void updateBlendWeights (int percentRgb, void *)
 
void updateDepthPlane (int depth, void *)
 

Variables

constexpr auto ALIGN_SOCKET = LEFT_SOCKET
 
constexpr auto COLOR_RESOLUTION = dai::ColorCameraProperties::SensorResolution::THE_1080_P
 
constexpr auto FPS = 30.0
 
constexpr auto LEFT_RIGHT_RESOLUTION = dai::MonoCameraProperties::SensorResolution::THE_720_P
 
constexpr auto LEFT_SOCKET = dai::CameraBoardSocket::CAM_B
 
double leftWeight = 0.6
 
constexpr auto RGB_SOCKET = dai::CameraBoardSocket::CAM_A
 
double rgbWeight = 0.4
 
int staticDepthPlane = 0
 

Function Documentation

◆ main()

int main ( )

Definition at line 49 of file image_align.cpp.

◆ updateBlendWeights()

void updateBlendWeights ( int  percentRgb,
void *   
)

Definition at line 40 of file image_align.cpp.

◆ updateDepthPlane()

void updateDepthPlane ( int  depth,
void *   
)

Definition at line 45 of file image_align.cpp.

Variable Documentation

◆ ALIGN_SOCKET

constexpr auto ALIGN_SOCKET = LEFT_SOCKET
constexpr

Definition at line 11 of file image_align.cpp.

◆ COLOR_RESOLUTION

constexpr auto COLOR_RESOLUTION = dai::ColorCameraProperties::SensorResolution::THE_1080_P
constexpr

Definition at line 13 of file image_align.cpp.

◆ FPS

constexpr auto FPS = 30.0
constexpr

Definition at line 7 of file image_align.cpp.

◆ LEFT_RIGHT_RESOLUTION

constexpr auto LEFT_RIGHT_RESOLUTION = dai::MonoCameraProperties::SensorResolution::THE_720_P
constexpr

Definition at line 14 of file image_align.cpp.

◆ LEFT_SOCKET

constexpr auto LEFT_SOCKET = dai::CameraBoardSocket::CAM_B
constexpr

Definition at line 10 of file image_align.cpp.

◆ leftWeight

double leftWeight = 0.6

Definition at line 37 of file image_align.cpp.

◆ RGB_SOCKET

constexpr auto RGB_SOCKET = dai::CameraBoardSocket::CAM_A
constexpr

Definition at line 9 of file image_align.cpp.

◆ rgbWeight

double rgbWeight = 0.4

Definition at line 36 of file image_align.cpp.

◆ staticDepthPlane

int staticDepthPlane = 0

Definition at line 38 of file image_align.cpp.



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