Giter Club home page Giter Club logo

fortnitemonitor's Introduction

FortniteMonitor

Doing 'x' everytime you 'y' in Fortnite!

This code uses the python opencv library and the Tesseract OCR engine to monitor your health in the popular video game 'Fortnite'.

It is currrently skeleton code so that you can make it do whatever you want! Ex. Texting me a funny joke every time my character dies in Fortnite :( The code is well commented so you should have no problem adjusting it to your 'needs'! Enjoy!

Setup

You will need python if you dont have it. Get it here

Install the needed modules with:

pip install Pillow

pip install opencv-python

pip install pytesseract

You will need to download the Tesseract OCR engine for the code to run. On Mac, run brew install tesseract

For Windows users, click here to download. Don't forget to add the Tesseract path to your system PATH.

How to run

Run the code with: python fortnite.py

Kill the program with: control-c

The code wont do much unless you tell it to. Some prior programming expierence is needed. Go over the code and look at the comments I have left and that will help you get started.

Notes

Due to the nature of the Tesseract engine and just OCR technology in general, the code can be pretty buggy. If the OCR is failing to recognize your health play around with some PIL image processing. If you get the code working better than I have it, contribute! Just fork, edit, and open a pull request.

Also, the frames come in so fast that sometimes the code has a hard time removing them all from your directory. If you see some image files in the directory after running the code, just delete them.

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.