#pragma once #include #include #define FENGZHUANG_API __declspec(dllexport) #pragma warning(disable:4996) #include #include #include #include #include #include #include using namespace cv; FENGZHUANG_API void putTextHusky(Mat& dst, const char* str, Point org, Scalar color, int fontSize, const char* fn = "Arial", bool italic = false, bool underline = false); FENGZHUANG_API int32_t createDirectory(const std::wstring& directoryPath); FENGZHUANG_API int32_t createDirectory(const std::string& directoryPath); FENGZHUANG_API char* UnicodeToAnsi(const wchar_t* szStr); FENGZHUANG_API wchar_t* AnsiToUnicode(const char* szStr); FENGZHUANG_API std::string WString2String(const std::wstring& ws); FENGZHUANG_API std::wstring String2WString(const std::string& s);