300x250

Deep Learning 6

annotation tool roLabelImg 설치 (pyqt5)

annotation tool 중 사각형 박스를 회전할 수 있는 툴을 찾았고, 기존 labelimg를 기반으로 작성되었습니다. 다운로드 받는 위치 github.com/cgvict/roLabelImg cgvict/roLabelImg Label Rotated Rect On Images for training. Contribute to cgvict/roLabelImg development by creating an account on GitHub. github.com 설치 방법이 pyqt4로 되어 있어서, 더 이상 지원하지 않고, pip install로 설치가 되지 않아서 pyqt5로 설치해서 동작 유무를 확인했지만, 다음과 같은 에러가 발생합니다. if os.path.exists(predefClassesFil..

Deep Learning 2021.01.08

한국어 OCR를 위한 tfrecord 생성 (FSNS-tfrecord-generate)

1) 구글 Attention OCR에 적용하기 위해서 한글이 적용된 FSNS 포맷의 tfrecord를 만들어 보겠습니다. 중국어 기반으로 github에 소스와 관련 자료가 있어서 사용을 했습니다. 출처: github.com/A-bone1/FSNS-tfrecord-generate A-bone1/FSNS-tfrecord-generate FSNS tfrecord generate. Contribute to A-bone1/FSNS-tfrecord-generate development by creating an account on GitHub. github.com 2) 첫 번째 단계는 텍스트 레이블과 일치하는 dictionary 파일을 생성합니다. github.com/A-bone1/FSNS-tfrecord-gene..

Deep Learning 2021.01.04

Attention OCR Korean Version

Google Attention OCR을 기반으로 한글이 포함된 이미지를 인식할 수 있도록 학습. CRAFT + deep text recognition 처럼 detection + recognition 두 모델이 함께 사용되며, 두 모델에 대해서 각각 학습이 이뤄집니다. end-to-end의 attention 구조를 사용한 모델입니다. 자세한 내용은 논문을 참조하세요 "Attention-based Extraction of Structured Information from Street View Imagery" Attention-based Extraction of Structured Information from Street View Imagery We present a neural network model -..

Deep Learning 2020.12.31

Data Augmentation(데이터 증강)을 위한 Image Processing(영상처리)

1. CLAHE Contrast Limited Adaptive Histogram Equalization Histogram Equalization (히스토그램 평활화)/CLAHE Histogram Equalization은 이미지의 픽셀이 특정 범위 값 주변에 분포해 있을 때, 양쪽 끝으로 히스토그램을 펼쳐서 Contrast 조정하는 방법이다. 예제는 이미지를 histogram equlization을 사용해서 Contrast.. incorea.tistory.com cv2.createCLAHE(clipLimit=2.0, tileGridSize=(8,8)) clipLimit Threshold for contrast limiting. tileGridSize Size of grid for histogram equa..

Deep Learning 2020.10.12

Jupyter notebook 원격으로 사용하기

- ssh로 원격 호스트에(Linux 기준) 접속 root로 login 접속 시 login access denied로 접속이 되지 않을 때, 원격 호스트에서 미리 설정 필요 vi /etc/ssh/sshd_config에서 PermitRootLogin yes로 수정 후 service sshd restart 또는 시스템 재시작 - notebook을 사용할 디렉토리 위치를 생성 또는 이동 - jupyter notebook --no-browser --allow-root 주피터 노트북을 루트 권한으로 실행 - jupyter notebook에 접근할 수 있는 주소와 토큰이 생성 - 로컬 computer에서, MS-DOS cmd or Linux terminal을 열고 ssh -N -f -L localhost:8888:..

Deep Learning 2020.10.07
300x250