HOCR_SDK_getOpenApi
Included header
#include <HOCR_SDK_COMMON.h>
Description
API to query available engine functions
HOCR_SDK_getOpenApi()
|
- Parameters
-
Name Type Description obj void* Pointer to 'ArgoEngineApi' object
openApiJson char** Pointer to receive the result string
- Return value
int: Length of the ‘openApiJson’ string
Examples
char *resultJsonStr = nullptr;
int resultSize = HOCR_SDK_getOpenApi(obj, &resultJsonStr);
std::string resultJson(resultJsonStr, resultSize);
Example result JSON
{"SUPPORT_API":["TEXT_RECOGNITION"]}