Giter Site home page Giter Site logo

d4_item_detective's Introduction

Install

  • Clone this repository
  • Go to the root of cloned repository
  • Install dependencies by running pip3 install -r requirements.txt
  • Furthermore, you need to install Tesseract-OCR on your system. The path to the tesseract.exe should be defined as pytesseract.pytesseract.tesseract_cmd (Make sure to add it to your system's PATH or define the path to the tesseract.exe in the script (replace r"C:\Program Files\Tesseract-OCR\tesseract.exe" with the correct path on your system).)

Run

Execute:

python3 Item_Checker.py

FAQ

  • Set Framerate of screenshots framerate = 2
  • Set Monitor to capture monitor_index = 1 1 = Main 2 = Second
  • After start you should see a new window that shows the stream of screenshots. It will highlight the found item stats ingame.
  • It runs OCR for found item stats

Example Output

2023-07-15 00_58_43-Object Detection

Console output

  • 0: 384x640 4 Item-Affixs, 2 Item-Affixess, 2 Item-Aspects, 3 Item-Powers, 2 Item-Tooltips, 433.0ms
  • Speed: 8.9ms preprocess, 433.0ms inference, 6.9ms postprocess per image at shape (1, 3, 384, 640)
  • Class: Item-Aspect, Probability: 0.95, OCR: ® You gain 0.50%|x] (0.25 - 0.50}% increased Armor for 4 seconds when you deal any form of damage, stacking upto 50.00% x] [25.00 - 50.00%. oe
  • Class: Item-Affixes, Probability: 0.95, OCR: +7.0% Healing Received [4.5 - 8.0) ¢ +7.0%) 20.5% Shadow Resistance 17.5 - 28.0) {+ 20.5%) +25 Dexterity +[18 - 25] (+25) +25 Intelligence +(18-25
  • Class: Item-Aspect, Probability: 0.92, OCR: ® Imprinted: Basic Skills grant 20% Damage Reduction for 3.0 [2.0 - 6.0] 7 seconds.
  • Class: Item-Power, Probability: 0.86, OCR: 564 Item Power
  • Class: Item-Affixes, Probability: 0.49, OCR: © +31 Intelligence +[31 - 44] +9.8% Barrier Generation [6.5 - 13.0}% * 8.1% Cooklown Reduction [4.5 - 9.6]% o +7.1% Basic Skill Attack Speed [4.5 - 9.8)%
  • Class: Item-Power, Probability: 0.44, OCR: 649+ 15 Item Power

d4_item_detective's People

Contributors

thomasaushh avatar

Stargazers

 avatar Fredrik Åhs avatar Luca Schalk avatar knightli avatar Stuart John Atkinson avatar Jos Demmers avatar

Watchers

 avatar

Forkers

xindigo

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.