엄지월드

오토핫키 OCR(이미지 인식) 본문

Tool/AutoHotKey

오토핫키 OCR(이미지 인식)

킨글 2018. 5. 20. 17:17
반응형

오토핫키 OCR 이미지 인식을 활용하면 한글을 제외한 숫자, 영어, 일어를 인식해준다.

#SingleInstance force
#Include OCR.ahk

CoordMode, Mouse, Screen ; 절대 좌표로 설정한다.

F3:: ; F3을 누르면 실행
widthToScan=30 ; OCR 미리보기 창 크기 설정
heightToScan=30 
sleep, 200

WinSet, Transparent, 50, OcrPreviewWindow
   topLeftX = 2168 ; 위치 지정
   topLeftY = 440
   WinMove, OcrPreviewWindow, , % topLeftX+2, % topLeftY-2
   sleep, 100
   ;NOTE: this is where the magical OCR function is called
   magicalText := GetOCR(topLeftX, topLeftY, widthToScan, heightToScan, options)

if magicalText >= 1 
else{
	mousemove, 876, 480
    mouseclick, LEFT
}

return

 

한글 인식 하는 방법

https://tailstar.net/autohotkey/24893450

-> 무슨 말인지 모르겠어서 좀 더 분석이 필요하다.

 

 

도움이 되셨다면 광고 한번씩 클릭 부탁드립니다 😁

'Tool > AutoHotKey' 카테고리의 다른 글

AutoHotKey 설치 방법  (0) 2018.05.20
Comments