方法介绍

方法名称:释放指定句柄的tresseract-ocr对象

语法:releaseOcr(handle)

参数说明:

handle:整数型,tresseract-ocr对象句柄

方法例子

local handle = createOcr("chi-sim")

local text = ocrText(handle,0,0,0,0,"ffffff-0f0f0f")

if text ~= nil then

print("ocr text:"..text)

end

releaseOcr(handle)

Copyright © 湖南合鑫网络科技有限公司 2020 all right reserved,powered by Gitbook该文件修订时间: 2020-11-12 17:36:54

results matching ""

    No results matching ""