Commit 7137578f by 최애림

INNODEV-2812 Python 이해

- python docstring 방식으로 함수마다 주석 추가
- python argparse를 이용하여 파라미터값을 입력받도록 함
parent cdb28ffd
......@@ -11,7 +11,7 @@ def run_ocr(image_path):
"""
해당 경로(image_path)에서 이미지 파일을 가져와서 ocr인식을 수행합니다.
:param image_path: ocr인식을 수행할 이미지 경로
:return: ocr인식이 수행된 결과를 j환son 형식으로 반
:return: ocr인식이 수행된 결과를 json 형식으로 반환
"""
global ENGINE_ADDRESS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment