"update model files path"

This commit is contained in:
K.H.CHOI 2024-03-27 15:46:42 +09:00
parent aaa6f8d658
commit 2986449433
5 changed files with 1 additions and 3 deletions

View File

@ -78,4 +78,4 @@ def read_image_from_url(image_url):
# 외부에서 함수를 사용하는 예
# 이미지 URL과 원하는 변환 유형('thumbnail' 또는 'translate')을 인자로 넘깁니다.
result = image_trans('http://example.com/image.jpg', 'thumbnail')
# result = image_trans('http://example.com/image.jpg', 'thumbnail')

View File

@ -24,8 +24,6 @@ ocr = PaddleOCR(use_angle_cls=True, lang="ch",
rec_model_dir=rec_model_path,
cls_model_dir=cls_model_path) # 분류 모델 경로 지정
# PaddleOCR 객체 생성
ocr = PaddleOCR(use_angle_cls=True, lang='ch') # 'ch'는 중국어, 'en'은 영어
def detect_text(image):
# 이미지에서 텍스트 감지 및 인식

Binary file not shown.

Binary file not shown.

Binary file not shown.