Java 4

[Spring/에러] an out of memory error has occurred.

STS를 평소와 똑같이 실행시켰는데 이 화면이 나타나면서 컴퓨터 자체도 느려지고 30분 넘게 기다려도 그대로다...ㅋ..... 해결 방법을 찾아서 자신의 워크스페이스\.metadata\.plugins\org.eclipse.core.resources\.projects 경로로 들어가 다 삭제했는데도 똑같다.... 그러고 재부팅하고 다시 들어가니 이제는 다른 에러가 뜬다 이 친구는 또 뭘까... 검색에 검색.... 이클립스가 설치된 경로로 가서 eclipse.ini 을 메모장으로 열어보면 -startup plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar --launcher.library plugins/org.eclipse.equinox.launc..

Spring 2024.03.28

[Python/tesseract] 맥(Mac) tesseract 설치

$ brew install tesseract $ brew install tesseract-lang $ tesseract --list-langs $ pip install pytesseract $ pip install pytesseract imutils 마지막 2개는 둘 중 하나만 설치해도 되는 것 같다. 터미널에서 설치 후 파이참에서도 설치해주었다 (꼭 해야하는지는 모르겠다) 1. setting에 들어가서 interpreter에서 '+' 버튼을 눌러준다. 2. tesseract 검색 후 install Package 눌러서 설치 3. 모든 설치가 끝나고 실행이 잘 되는지 확인 import pytesseract import cv2 ori = cv2.imread("../fff/si.png") ttt = pyte..

Python 2024.03.06