add util header
This commit is contained in:
parent
be22594369
commit
cd316cf606
21
util.h
Normal file
21
util.h
Normal 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*/
|
Loading…
Reference in New Issue
Block a user