Giter Site home page Giter Site logo

classin-auto-respond's Introduction

ClassIn-auto-respond

ClassIn自动抢答

介绍

自动识别屏幕上的抢答器的颜色,自动点击,用python编写

使用说明

先安装依赖库,然后windows如果关联了py launcher就可以直接双击打开。如果安装的是Anaconda,没有py launcher,就可以按住shift右键打开PowerShell,输入

conda activate base
python main.py

如果是macos或者Linux,请就地打开终端并输入

chmod +x main.py

使用前先将鼠标移动到扫描区域左上角、右下角处,然后用posLeftTop和posRightBot命令确定左上角、右下角坐标,然后把鼠标放在抢答器的按钮上,用getPixelData获取RGB信息,输入start即可自动识别抢答器,识别到了就会自动点击。

依赖库

pyautogui直接装最新版即可:

# 如果使用anaconda请加上这行
conda activate base

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pyautogui

classin-auto-respond's People

Contributors

chubbyginger avatar

Stargazers

 avatar Hecheng Yu avatar

Watchers

 avatar  avatar

Forkers

lidechen2009

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.