Skip to content
Snippets Groups Projects
Select Git revision
  • 27dccb247f9aa93b0aa8be827e4d977e92c2cb5d
  • master default protected
  • opencv4
  • custom_realsense
  • deproject
  • camera
6 results

sandboxConfig.h

Blame
  • 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