A pure OCR-based game text recognition overlay solution that uses PaddleOCR to detect text line positions in game screenshots, merges nearby lines into larger rectangles, crops and sends them to LunaTranslator's OCR API for text recognition, generates corresponding rectangles on a webpage based on their positions, inserts the OCR text, and finally uses AI to correct the recognized text.
Getting Started - PaddlePaddle
sdcb/PaddleSharp: .NET/C# binding for Baidu paddle inference library and PaddleOCR
Text Detection Module - PaddleOCR Documentation Installation - PaddleOCR Documentation
cd ocr-server
npm install
npm startHIllya51/LunaTranslator: Visual Novel Translator
Select an OCR engine, SnippingTool is recommended.
Note: We only use PaddleOCR's text box detection, not its OCR recognition, because PaddleOCR's OCR recognition performance is not ideal, while its text box detection works exceptionally well.
Edit the .env file and set the variables
cd paddleOcr_archieve
python TextDetection_ocr_Cover_ai.pyInstall the application as an app through the browser to display only the top bar without other browser elements.




