1
This commit is contained in:
@@ -68,7 +68,7 @@ def tuwai(image):
|
||||
img_bytes = img_encoded.tobytes()
|
||||
result = ocr.classification(img_bytes)
|
||||
print(result)
|
||||
if result == "tap" or result=='tqp' or result=='top':
|
||||
if result == "tap" or result=='tqp' or result=='top' or result=='tp':
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user