InitEngine(); char* strJSON = RecognitionFromFileToJSON("path/to/image", "length_path/to/image"); if (strJSON) { // the input is fine, parse the json } FreeEngine(); // Process results of recognizing typedef struct tagInitSet { RECT RoiRect; int nLetterHeightMin; int nLetterHeightMax; int skewAng; int mode; //0: picture, 1:video }InitSet; #define MULTIRESULT 10 typedef struct tagLICENSE { int nLetNum; TCHAR szLicense[20]; float pfDist; int nTrust; int aveH; BOOL bCheckSum; BYTE Type; BYTE bBkColor; RECT rtPlate; // Get plate region RECT blob[20]; BYTE bCarColor; BYTE bCarColDp; } LICENSE, *LPLICENSE; typedef struct tagCONTAINERPLATE { int nPlate; LICENSE pPlate[MULTIRESULT]; DWORD nProcTime; // Get Recognition Speed(ms) char licenseMSG[100]; } CONTAINERPLATE_DATA;