Skip to content

HOCR_SDK_getArgoEngineInitInfo

Included header

#include <HOCR_SDK_COMMON.h>

Description

Engine initialization information query API

HOCR_SDK_getArgoEngineInitInfo()

int HOCR_SDK_getArgoEngineInitInfo(void* obj, char** resultJson)
Parameters
NameTypeDescription
objvoid*

Pointer to ArgoEngineApi object

resultJsonchar**

Pointer to receive the result string

Return value

int: Length of the ‘resultJson’ string

Examples

char *resultJsonStr = nullptr;
int resultSize = HOCR_SDK_getArgoEngineInitInfo (obj, &resultJsonStr);
std::string resultJson(resultJsonStr, resultSize);

Example result JSON

{
"TEXT_DETECTION": {
"IS_DEFAULT": false,
"IS_OPEN_API": false,
"MODEL_DATA_PATH": ".\\assets\\Hancom.25.12.01.cpu.imr",
"DEPENDS_ON": [],
"SELECTIVE_ON": [],
"COUNT": [
1
]
},
"TEXT_RECOGNITION": {
"IS_DEFAULT": true,
"IS_OPEN_API": true,
"MODEL_DATA_PATH": ".\\assets\\Hancom.25.12.01.cpu.imr",
"DEPENDS_ON": [
"TEXT_DETECTION"
],
"SELECTIVE_ON": [],
"COUNT": [
1
]
}
}