Skip to content
프로젝트

KianBrose/Image-Recognition-Botting-Tutorial

GitHub에서 보기

소개

Hello! This is the code I use in the https://www.youtube.com/watch?v=YRAIUA-Oc1Y video

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original
# IMPORTANT NOTE

If you came here from the YouTube video, keep in mind that using .locateOnScreen(..) == None does not work on newer versions of Pyautogui because the devs decided to change the syntax



# Image-Recognition-Botting-Tutorial
Hello! This is the code I use in the https://www.youtube.com/watch?v=YRAIUA-Oc1Y video

Install these libraries from an administrator terminal (windows):

pip install pywin32
pip install keyboard
pip install pyautogui
pip install opencv-python

Here are the libraries to paste at the start of the scripts:

from pyautogui import *
import pyautogui
import time
import keyboard
import random
import win32api, win32con

Here is the click function:

def click(x,y):
    win32api.SetCursorPos((x,y))
    win32api.mouse_event(win32con.MOUSEEVENTF_LEFTDOWN,0,0)
    win32api.mouse_event(win32con.MOUSEEVENTF_LEFTUP,0,0)

관련 프로젝트 살펴보기

불러오는 중…