fix: [ocr_enrich] Making Pep8 happy

pull/488/head
chrisr3d 2021-04-15 16:41:15 +02:00
parent 97d4950f82
commit 300cdc7a4c
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ def handler(q=False):
try: try:
decoded = pytesseract.image_to_string(cv2.cvtColor(image, cv2.COLOR_BGR2RGB)) decoded = pytesseract.image_to_string(cv2.cvtColor(image, cv2.COLOR_BGR2RGB))
return { return {
'results':[ 'results': [
{ {
'types': ['freetext'], 'types': ['freetext'],
'values': list(filter_decoded(decoded)), 'values': list(filter_decoded(decoded)),