|
Post by mepmep on Dec 16, 2019 4:07:28 GMT
I use numberOCRNoFindException.
image 1 Found
image not found
text = "Found in"..ragion
text1 = text.." Not found."
it's error with nil. I will make a log text.
sample log
image 1 found at region.
image 2
bla bla
base command
value, success = numberOCRNoFindException(Region(10, 20, 200, 300, "power")
if (success) then
print("value = " .. value)
else
print("OCR fail")
end
|
|
|
Post by gslinux on Dec 17, 2019 15:59:45 GMT
Try changing: numberOCRNoFindException(Region(10, 20, 200, 300, "power") To this: numberOCRNoFindException(Region(10, 20, 200, 300), "power")
|
|