Giter Club home page Giter Club logo

qtcyberdip's Introduction

qtCyberDIP

Auto Tetris Player based on CyberDIP 基于CybeDIP的自主俄罗斯方块程序

2018届IEEE班数字图像处理基础课程大作业——C03组


CyberDIP

CyberDIP driver for windows in C++ 11.

CyberDIP is a USB device clicking touchscreens of smartphones or pads under PC's control. With the help of grbl running on an Arduino Nano, CyberDIP will translate serial port signals from your PC into 2D-motion and clicks. With the help of Computer Vision, CyberDIP can play many mobile games.

本工程是依赖C++ 11标准编写的CyberDIP在Windows环境下的配套软件。

CyberDIP是通过计算机USB控制的触摸屏点击设备(**实用新型专利2016201772460),通过搭载grbl 0.8c/0.9j的Arduino Nano(ATmega328)控制器,CyberDIP可以将USB串口发来的指令翻译成相应的二维运动与点击操作,模拟单指对屏幕的操作。 结合图像处理算法,CyberDIP可以实现触屏手机上游戏的自动攻略功能。


TODO

  • Find solution to replace Airplayer.exe+PrintScreen

Dependent

Framework

qtCyberDIP contains 3 + 1 parts:

  • Serial Port(COM): Serial port and g-code module to work with Arduino.
  • BBQScreen Client: BBQScreen client module to decode frames from Android devices.
  • Screen Capture: Win32 API module to grab screen or windows, working with AirPlayer to read frames from iOS devices.
  • Game Controller: User defined game controller, change this to play different games.

Usage

  • Install Visual Studio (≥2013)
  • Install Qt and Qt VS Add-In
  • Download and unzip / clone this project.
  • Install Driver for CH340 Chipset after connected to CyberDIP. (Driver is included)
  • Add '3rdparty/x64' (Default, if you are using 32-bit OS, add '3rdparty/x86') into Environment Variable 'Path' (ATTENTION! NEVER CLEAN 'Path', unless you are exactly conscious of the consequence)
  • Open qtCyberDip.sln in Visual Studio and follow the instructions in stdafx.h

使用方法

  • 安装 Visual Studio 2013或更高版本
  • 安装 Qt 与相应版本的 Qt-VS插件
  • 下载解压或clone本项目到本地
  • 连接CyberDIP后,安装CH340 芯片组驱动,驱动包含在CH340文件夹中。
  • 将 '3rdparty/x64' (默认x64,32位操作系统添加 '3rdprty/x86')加入系统环境变量 'Path' 中(注意不要清空原有内容)
  • 使用VS打开工程文件 qtCyberDip.sln, 并按照 stdafx.h 中的说明操作

请参加“数字图像处理基础”的同学注意:

为了方便代码评阅,建议只修改 usrGameController.husrGameController.cpp 两个文件,最后使用git提交代码。


Developer

  • Yue ZHOU, A.P. Department of Automation, Shanghai Jiao Tong University.
  • Xiang LI, MEng Department of Automation, Shanghai Jiao Tong University.

Contact me

  • Email: [email protected]
  • Address: Room 2#302B, SEIEE Building, 800 DongchuanRd., Shanghai, PR China (200240)

qtcyberdip's People

Contributors

qu10wenhao avatar

Watchers

James Cloos avatar  avatar

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.