ScoreSight is an OCR (Optical Character Recognition) application designed to extract text from real-time updating streams like scoreboards, applications, videos and games.
It is written in Python and utilizes the following technologies:
It is the best free real-time OCR tool on planet Earth for scoreboards and games.
If you'd like to donate to help support the project, you can do so on GitHub or Patreon.
Price: FREE.
Very short video tutorials:
Additional guides:
See the releases page for downloadable executables and installers.
See the Install Guide for help with installation.
git clone https://github.com/occ-ai/scoresight.git
pip install -r requirements.txt
For Mac and Windows there are further dependencies in requirements-mac.txt
and requirements-win.txt
.env
file. See the contents of the file in the .github/worksflows/build.yaml
fileThere are some extra steps for installation on Windows:
$ cd src/win32DeviceEnum && python.exe setup.py build_ext --inplace
On Mac, and particularly on Arm64, you will need to install dependencies manually. This is reflected in the ./github/actions/build.yaml file.
Get the project from the repo and build it locally
$ git clone https://github.com/nocarryr/cyndilib.git
$ cd cyndilib
$ pip install setuptools numpy cython
$ pip install .
Get the project from the repo and built it locally.
This assumes you have Homewbrew in /opt/homebrew
but if it's in /usr/local
then there's no need for the extra flagging.
$ git clone https://github.com/sirfz/tesserocr.git
$ cd tesserocr
$ /opt/homebrew/brew install tesseract leptonica
$ PATH="$PATH:/opt/homebrew/bin" CPPFLAGS="-I/opt/homebrew/include -L/opt/homebrew/lib" python3 -m pip install --no-binary tesserocr tesserocr
Compile the UI files into Python:
./scripts/compile_ui.ps1
Launch the application:
python main.py
Follow the on-screen instructions to load an image of the scoreboard and extract the text.
You may want to build a distributable .exe or .app or even an installer, this is possible with PyInstaller.
To build the executable run PyInstaller.
pyinstaller --clean --noconfirm scoresight.spec -- --mac_osx
pyinstaller --clean --noconfirm scoresight.spec -- --win
pyinstaller --clean --noconfirm scoresight.spec
Contributions are welcome! If you would like to contribute to this project, please follow these steps:
This project is released under the MIT license.
If you have any questions or suggestions, feel free to leave an issue on the repository. You may also email [email protected].
If you wish to contract the development team to productionize ScoreSight for your needs, please contact [email protected].