This Python project tracks player death and down positions in Apex Legends matches and generates a detailed heatmap on a full-scale map. By analyzing past games, players can identify high-risk areas, improve their gameplay strategies, and learn from their positioning mistakes.
- Python 3.12.5
- Tesseract
- Download the latest tesseract installer from here,
- Install tesseract to a
tesseractfolder next to theApexCompanion.py, - Install all python dependencies using the
requirements.txtfile (pip install -r requirements.txt)
Currently Apex Companion can only be used using the command line like in the example below.
python ApexCompanion.py [options]It has a few modes of operation which can be selected using the following command line arguments:
-tor--tracker: Tracks your game state and creates screenshots of your death / down positions. Usage:
python ApexCompanion.py --tracker true-sor--source: Creates screenshots of your death / down positions from a given video file. Usage:
python ApexCompanion.py --source [path_to_file]-gor--generate: Generates a heatmap from the generated screenshots on the given map. Usage:
python ApexCompanion.py --generate true--debug: Enables debug mode for testing / outputting more information to the command line.
python ApexCompanion.py --debug true [options]