We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
调用声明: procedure Init; external 'DdddOcr.dll' name 'Init'; procedure Shutdown; external 'DdddOcr.dll' name 'Close'; function Classification(aa: pchar): pchar; external 'DdddOcr.dll';
formcreate 事件增加: init(); 调用例子: ProgramDirectory := ExtractFilePath(ParamStr(0)); fn:=ProgramDirectory+'yzmPic\captcha_1.jpg'; memo2.lines.Add(fn); base64str:=PicToBase64(fn);//这里文件转成base编码 memo2.lines.Add(base64str); recstr:= Classification(pchar(base64str));//传入参数与返回参数均为pchar类型 memo2.lines.Add(recstr); formclose事件增加: Shutdown; 问题其它模型如何引用?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
调用声明:
procedure Init; external 'DdddOcr.dll' name 'Init';
procedure Shutdown; external 'DdddOcr.dll' name 'Close';
function Classification(aa: pchar): pchar; external 'DdddOcr.dll';
formcreate 事件增加:
init();
调用例子:
ProgramDirectory := ExtractFilePath(ParamStr(0));
fn:=ProgramDirectory+'yzmPic\captcha_1.jpg';
memo2.lines.Add(fn);
base64str:=PicToBase64(fn);//这里文件转成base编码
memo2.lines.Add(base64str);
recstr:= Classification(pchar(base64str));//传入参数与返回参数均为pchar类型
memo2.lines.Add(recstr);
formclose事件增加:
Shutdown;
问题其它模型如何引用?
The text was updated successfully, but these errors were encountered: