diff --git a/Signboard_detect&ocr&translate.py b/Signboard_detect&ocr&translate.py index e5ce0f3..d4a835b 100644 --- a/Signboard_detect&ocr&translate.py +++ b/Signboard_detect&ocr&translate.py @@ -45,7 +45,7 @@ def translate_korean_to_english(text): cropped_image = image[y1:y2, x1:x2] # ocr for cropped img - result = reader.readtext(cropped_image, allowlist = '{소망동물병원') + result = reader.readtext(cropped_image, allowlist = '{소망동물병원삼화페인트서부슈퍼지영선한복맛깔명성안경콘택트공덕커피애월식당') for detection in result: coords = detection[0] text = detection[1]