You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Web frontend (Vue 3 + Vite) embedded directly into api_server — open a browser, pick an image, and run OCR without any separate tooling. Served from the same exe/port via httplib's set_mount_point().
Interactive region selection: drag a box on the image, Detect shows candidate text boxes in red on top of it, click one to Recognize just that region automatically.
README-EN.md — full English translation, with a language-switch badge on both READMEs.
Demo video linked at the top of both READMEs.
🐛 Fixes
Fixed a heap-buffer-overflow crash (0xC0000005 access violation) in TextDetector::detect() — memcpy size was computed from the model's output tensor shape but the destination buffer was sized from a different (and occasionally mismatched) dimension.
Fixed CMake failing to find OpenCV on VS2022 (MSVC 19.3x+) — the prebuilt OpenCV package's runtime-detection logic predates VS2022.
Fixed the CMake output directory being double-nested (build/Debug/Debug/).
Fixed Release builds silently skipping the OpenCV DLL copy (Post-Build Event was missing an argument).
Fixed the frontend showing nothing when Recognize legitimately found no text in the selected region (now shows a warning instead of looking broken).
🔧 Build / Tooling
Removed the old GUI demo project — the web frontend now covers that "pick an image and try OCR" use case, backed entirely by api_server.
api_server.exe now auto-launches after every Visual Studio build (Pre-Build kills the old instance, Post-Build starts the new one).
CMake builds now embed the same Windows version resource (company/product name, file version) as the VS2022 build, instead of having none.
Added VSCode debugging support (launch.json, cppvsdbg) so F5 attaches a real debugger without the "select debugger" prompt.
third_party/ marked read-only in VSCode to stop vendored code (httplib.h) from getting reformatted by accident.
📚 Docs
README restructured: the Frontend section now comes before Building, with explicit notes on build order (frontend has to be built first).
api_server usage examples expanded (curl/PowerShell/Python, for both /ocr_detect and /ocr_recognize).