DaoAI World C# SDK INDUSTRIAL 2024.8.0
Loading...
Searching...
No Matches
prediction.cpp File Reference
#include "prediction.h"
#include <fstream>

Namespaces

namespace  DaoAI
 
namespace  DaoAI::DeepLearningCLI
 
namespace  DaoAI::DeepLearningCLI::Vision
 

Macros

#define DEFINE_TOJSONSTRING_FOR_MODEL(ModelResultName)
 
#define DEFINE_TOANNOTATIONJSONSTRING_FOR_MODEL(ModelResultName)
 

Macro Definition Documentation

◆ DEFINE_TOANNOTATIONJSONSTRING_FOR_MODEL

#define DEFINE_TOANNOTATIONJSONSTRING_FOR_MODEL ( ModelResultName)
Value:
String^ ModelResultName::toAnnotationJSONString()\
{\
auto json_string = m_Instance->toAnnotationJSONString();\
return gcnew String(json_string.c_str(), 0, json_string.length(), System::Text::Encoding::UTF8); \
}

◆ DEFINE_TOJSONSTRING_FOR_MODEL

#define DEFINE_TOJSONSTRING_FOR_MODEL ( ModelResultName)
Value:
String^ ModelResultName::toJSONString()\
{\
auto json_string = m_Instance->toJSONString();\
return gcnew String(json_string.c_str(), 0, json_string.length(), System::Text::Encoding::UTF8); \
}