전체 글(808)
-
OSError: [WinError 17] 시스템은 파일을 다른 디스크 드라이브로 옮길 수 없습니다: '
os.rename(src,dest)으로는 다른 드라이브로 이동 불가능 import shutil shutil.move(src,dest)
2021.01.02 -
파일크기 확인
os.path.getsize(file)
2021.01.01 -
java로 text를 image로 변환하는 샘플
jogeum.net/21
2020.12.31 -
tesseract 실행
# box 파일만 생성 tesseract ./aa/aa.png ./aa/aa -l kor batch.nochop makebox # tif, box 파일 생성 "unicharset_extractor --output_unicharset ./data/font_image/unicharset text2image --text %s --outputbase %s --font '%s' --fonts_dir %s --fontconfig_tmpdir %s" %(train, outputbase, font_name, font_dir,temp) # tr 파일 생성 "tesseract %s %s nobatch box.train" %(tif,outputbase) # unicharset 파일 생성 'unicharset_extracto..
2020.12.31 -
OCR 현대 한글의 모든 글자
namu.wiki/w/%ED%98%84%EB%8C%80%20%ED%95%9C%EA%B8%80%EC%9D%98%20%EB%AA%A8%EB%93%A0%20%EA%B8%80%EC%9E%90
2020.12.31 -
판다스 index 초기화
temp.reset_index()
2020.12.31