add util header

This commit is contained in:
Jan Grewe 2023-11-10 18:44:55 +01:00
parent be22594369
commit cd316cf606

21
util.h Normal file
View File

@ -0,0 +1,21 @@
#ifndef UTIL_H
#define UTIL_H
#include <vector>
#include <iostream>
enum Layout { horizontal, vertical };
enum CameraMode {single, dual};
struct ROI {
int x, y, width, height;
};
struct CameraLayout {
std::vector<std::string> devices;
std::vector<ROI> rois;
Layout layout;
CameraMode mode;
};
#endif /*UTIL_H*/