diff --git a/util.h b/util.h new file mode 100644 index 0000000..2bcb204 --- /dev/null +++ b/util.h @@ -0,0 +1,21 @@ +#ifndef UTIL_H +#define UTIL_H + +#include +#include + +enum Layout { horizontal, vertical }; +enum CameraMode {single, dual}; + +struct ROI { + int x, y, width, height; +}; + +struct CameraLayout { + std::vector devices; + std::vector rois; + Layout layout; + CameraMode mode; +}; + +#endif /*UTIL_H*/ \ No newline at end of file