Code Monkey home page Code Monkey logo

gamer_assist's Introduction

Gamer Assist

A python application to capture the onscreen health data of a game to process onscreen health and send it to hardware device through serial communication.

Python Application Feature :

  • Saving different games health bar location / processing information
  • Interactive screenshot to get the healthbar / health value co-ordinates
  • Customizable serial communication (ports / badu rate selection)
  • In built image editor
  • Performs OCR on Health value
  • Determines Health value based on Health bar

Gamer Assist

Arduino Application Feautre:

  • ESP-NOW integrated
  • Reads data from serial
  • Drive different addressable RGB leds

Ambient Light Circuit

Haptic feedback Circuit

Getting Started

Prerequisites

Python Application

Python External Library Prerequisites

  • Open CV
  • Pillow
  • numpy
  • pyserial
  • pytesseract
  • pyautogui

Runnig the code

Navigate to the main.py file location and run the command in cmd/power shell.

Python main.py 

Usage

Home page - Here select the com port where the device is connected and set the badu rate.

Home window

Interactive Screenshot - select the part of the screen where the health bar or health value is located. (Make sure the image/game is full screen when you do this)

Selection of health bar

Selection of health value

Editor Window - Here the images are processed to get the health value by using sliders (threshold, brightness and blur).

Editing for health bar
Health bar editor

Editing for health value
Helath value editor

Arduino

Arduino External Library Prerequisites

Open the Arduino IDE and follow the below steps:

Sketch -> include library -> ManageLibrary -> *Search for the above libraries*

Or follow the instructions on respective library repository.

Video explanation for hardware/circuit: Youtube link

BUGS

This is the first version so there are way to many bugs for now, let me know what issues you find. The latency of processing the health value varies dpending on the specs of the PC.

License

LICENSE.md file for details

gamer_assist's People

Contributors

neutrino-1 avatar

Watchers

James Cloos 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.