Skip to content

File utils.h

File List > utils.h

Go to the documentation of this file

#pragma once
#ifdef DLL_EXPORT
#define DLL_API __declspec(dllexport)
#else
#define DLL_API __declspec(dllimport)
#endif

#include <Windows.h>
#include <opencv2/opencv.hpp>
#include <nlohmann/json.hpp>

#include <string>

using namespace cv;
namespace inspection
{
    void SaveImage(std::string imagePath, Mat image);
    Mat LoadImage(const char* imagePath);
    Mat LoadImage(std::string imagePath);
}