方法介绍
方法名称:释放指定句柄的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)