OCR-only eFootball screenshot analyzer with scoreboard-region and card-layout detection
Project description
eFootball Result Analyzer
OCR-only eFootball screenshot analysis with dedicated support for:
- classic yellow-and-blue eFootball result screens
- penalty result screens such as
4 PK 3 - compact dark scoreboard-card screenshots
- post-match menu screens with centered score and player names below
Features
- Local OCR extraction for usernames, scoreline, winner, loser, and match stats
- Explicit detection of scoreboard regions for:
- left username or team
- left score box
- right score box
- right username or team
- penalty score band when present
- Penalty-aware result parsing
- Compact card-layout scoreline parsing
- Importable Python API
- Desktop GUI uploader
- CLI entrypoints
Install
pip install efootball-result-analyzer
You also need the native Tesseract executable installed on your machine.
Python Usage
from efootball_analyzer import analyze_match_result
result = analyze_match_result("result.jpg")
print(result["winner"], result["scoreline"])
print(result.get("penalty_scoreline"))
print(result["scoreboard_regions"])
CLI
efootball-analyze --image result.jpg
efootball-analyze --image result.jpg --team "United"
efootball-analyze --image result.jpg --username "I clear ball"
efootball-analyze-gui
Output
The analyzer returns a dictionary with fields such as:
team1,team2team1_label,team2_labelscore1,score2winner,loser,marginresult_typepenalty_score1,penalty_score2,penalty_scorelinescorelinestatsscoreboard_regionsraw_text
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file efootball_result_analyzer-0.2.3.tar.gz.
File metadata
- Download URL: efootball_result_analyzer-0.2.3.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb1e5947409e258fb569a2892f1e797ea7388a48129fcf3d49ec5119fb44a9c8
|
|
| MD5 |
4bc19a774d34d74a3379d99d61a78b54
|
|
| BLAKE2b-256 |
9312439c7ecbdbd8edc2ff68e1e295afe711faf028c06f65af5dc1c99ce2d1fd
|
File details
Details for the file efootball_result_analyzer-0.2.3-py3-none-any.whl.
File metadata
- Download URL: efootball_result_analyzer-0.2.3-py3-none-any.whl
- Upload date:
- Size: 21.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54b92e27d41fada163b714c09a0e983ea769fc6626f9ac22c136684666db7c6d
|
|
| MD5 |
9a307a034a752b0b81d8996f4ef9941e
|
|
| BLAKE2b-256 |
597882bd10155baa1cdee1be304b6711b692adf48e7be580e7269624937374dd
|