Skip to content

black7375/korean_ocr_using_pororo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Korean OCR using pororo

This is a Korean OCR Python code using the Pororo library.

Requirements

You can packages install with pipenv:

pipenv install

Then, you can run Python through the following commands:

pipenv run python main.py

# Or using virtual env
pipenv shell
python main.py

PORORO: Platform Of neuRal mOdels for natuRal language prOcessing

pororo is a library developed by KakaoBrain for performing natural language processing and speech-related tasks.

This repository is configured to only include the OCR functionality from the pororo library. If you wish to use other pororo features such as natural language processing, please install pororo through pip install pororo.

Usage

from pororo import Pororo

ocr = PororoOcr()
image_path = input("Enter image path: ")
text = ocr.run_ocr(image_path, debug=True)
print('Result :', text)

Output:

['메이크업존 MAKEUP ZONE', '드레스 피팅룸 DRESS FITTING ROOM', '포토존 PHOTO ZONE']

["Life is ot a spectator sport. If you're going to spend your whole life in the grandstand just watching what goes on, in my apinion you're wasting your life.",
 "인생은 구경거리가 아니다. 무슨 일이 일어나는지 보기만 하는 것은 인생을 낭비하고 있는 것이다.",
 'Jackie Robinson']

About

This is a Korean OCR Python code using the Pororo library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 83.3%
  • Python 16.7%