📚 Study/AI

Window에서 PPOCRLabel 실행하는 방법

윰갱 2025. 5. 11. 00:44

Installation and Run

# 1. 가상환경 생성

python -m venv ppocr_env

# 2. 가상환경 활성화 및 환경 설치 (Windows)

ppocr_env\Scripts\activate


python -m pip install --upgrade pip
python -m pip install paddlepaddle
python -m pip install PPOCRLabel

# 3. PPOCRLabel 코드 다운로드

git clone https://github.com/PaddlePaddle/PPOCRLabel.git
cd PPOCRLabel

# 4. 실행

python PPOCRLabel.py


Run Recognition

PPOCRLabel의 AutoRecognition 사용 방법은 다음과 같다.

  1. 우상단 File > Open Dir > 데이터셋이 있는 폴더 선택: 해당 폴더에 있는 모든 이미지 파일을 File List에 불러온다.
  2. 우하단 Auto Recongtion 클릭: File List에 있는 모든 이미지에 Annotation을 진행한다. 데이터가 많을수록 시간이 오래 걸리니 기다리자. CPU로도 생각보다 괜찮은 속도가 나온다.
  3. cntrl+s 로 결과 저장: 1번에서 선택한 폴더에 Label.txt 파일로 저장된다.

 

 


https://velog.io/@gynchoi17/PPOCRLabel%EC%9D%84-%EC%9D%B4%EC%9A%A9%ED%95%9C-OCR-%EB%8D%B0%EC%9D%B4%ED%84%B0-Annotation-for-Windows

 

PPOCRLabel을 이용한 OCR 데이터 Annotation (for Windows)

PaddlePaddle에서 제공하는 Annotation 프로그램 을 PPOCRLabel을 이용해 한국어 데이터에 직접 BBox를 만들어보자!

velog.io

'