Skip to main content

OCR-only eFootball screenshot analyzer with scoreboard-region detection

Project description

eFootball Result Analyzer

OCR-only eFootball screenshot analysis with dedicated scoreboard-region detection.

Features

  • Local OCR extraction for usernames, scoreline, winner, loser, and match stats
  • Explicit detection of the top scoreboard regions for:
    • left username
    • left score box
    • right score box
    • right username
  • 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",
    team="United",
)

print(result["winner"], result["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:

  • team1, team2
  • score1, score2
  • winner, loser, margin
  • scoreline
  • stats
  • scoreboard_regions
  • raw_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

efootball_result_analyzer-0.2.1.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

efootball_result_analyzer-0.2.1-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file efootball_result_analyzer-0.2.1.tar.gz.

File metadata

File hashes

Hashes for efootball_result_analyzer-0.2.1.tar.gz
Algorithm Hash digest
SHA256 1987ec45f95a31ebcd00d04046e60788d9e01112c0bff5a2909c0373dfd6434b
MD5 5f62f42283078c07c9e73a525dce4679
BLAKE2b-256 99d00153f6586ae4b13fe7f0d98b016b01478aaf2c707b2e479ebfd12eafc4f9

See more details on using hashes here.

File details

Details for the file efootball_result_analyzer-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for efootball_result_analyzer-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 81659144716bfef1a96ccf52f19a5db4239541d5ee1a3f663956b0186d0292e4
MD5 5cd998eb24a1f3e5a359a04cd1a6c802
BLAKE2b-256 656291c1535ff47a6502858033a1e3f6758dd9194cb9a5ecacda891edeea7189

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page