Select Git revision
sandboxConfig.h
sandboxConfig.h 802 B
#ifndef SANDBOXCONFIG_H
#define SANDBOXCONFIG_H
#include <yaml-cpp/yaml.h>
#include <opencv2/opencv.hpp>
#include "camera.h"
#include "beamerProjection.h"
#include "beamer.h"
#define MASK "CroppingMask"
#define POSITION "BeamerPosition"
#define MATRIX "AdjustingMatrix"
class SandboxConfig{
private:
SandboxConfig(){};
public:
static int saveAdjustingMatrixInto(char *path, cv::Mat matrix);
static int saveCroppingMaskInto(char *path, cv::Rect mask);
static int saveBeamerPositionInto(char *path, cv::Point3f position);
static int loadAdjustingMatrixInto(char *path, BeamerProjection *projection);
static int loadCroppingMaskInto(char *path, Camera *camera);
static int loadBeamerPositionInto(char *path, Beamer *beamer);
};
#endif