中文 En
A Windows desktop application for local optical character recognition (OCR) using the GOT-OCR2 model. This application provides a graphical interface for converting images containing text into editable and formatted text.
Here’s a screenshot featuring the image preview at the top, followed by the OCR-extracted markdown/latex text, and the rendered text displayed below.
- Load and preview images
- Automatic image resizing and preprocessing
- OCR processing with GOT-OCR2 model
- Formatted text output (Markdown and Latex)
- HTML preview of formatted output
- GPU acceleration support
- Windows 10/11 (64-bit)
- .NET Framework 4.8
- Visual Studio 2022 (for building from source)
- GPU with Vulkan driver
- Download the latest release from GitHub Releases
- Launch the got-win.exe application
- Click "Load Image" to select an image file
- The application will:
- Display the original image
- Show the preprocessed version
- Process the image using OCR
- View the OCR results in the text box
- Use the "Preview" button to see formatted output
- Check "Formatted Output" for Markdown formatting
- Clone the repository
- Install the Vulkan SDK
- Get the following files from release file and put in
got-win/dir:libocr.dll,encoder_single.onnx,got_decoder-q4_k_m.gguf - Open
got-win.slnin Visual Studio 2022 - Restore NuGet packages
- Build the solution (x64 platform)
cd got-win
nuget restore
msbuild got-win.sln /p:Configuration=Release /p:Platform=x64
- Ensure the model files are in the correct location
- Verify GPU drivers are up to date if using GPU acceleration
- Check console output for any error messages
- GOT-OCR model
- got.cpp by MosRat
