Splitgate live match score
Python with pytesseract OCR engine and custom trained splitgate font to get match score of splitgate game and send them to websocket server.
Installation
pip install -r requirements.txt
To make tesseract to work, you need to install an application that will communicate with python script.
(You can use tesseract from jTessBoxEditor
too)
Usage
#SCREENSHOT COOLDOWN BETWEEN EACH SCREENSHOT AND OCR (SCREENSHOTING DOESN'T TAKE MUCH PERFORMANCE)
cooldown = 0.2
#port where local websocket will be hosted
port = 5521
Set your websocket port and then connect to websocket using "ws://localhost:{port}". You can use webosocket tester to test if it is working.
Otherwise, you can use the script without websocket:
# without_websocket()
#if you want to disable websockets comment theese three lines and uncommend line above
start_server = websockets.serve(websocket_server, "localhost", port)
asyncio.get_event_loop().run_until_complete(start_server)
asyncio.get_event_loop().run_forever()
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Support
If you'd like to support me you can use my code GECR3Y
in-game :)