Baidu Unlimited OCR 2: local setup and document tests
Learn how the presenter runs Unlimited OCR 2 locally, reports about 8.3 GB VRAM at full precision, and checks equations, invoices and old print.
Player not loading? Watch on YouTube
Fahad Mirza demonstrates a local setup of Baidu's Unlimited OCR 2 and tests its document parsing on handwritten equations, an invoice and historical print. The setup covers installing prerequisites, downloading the model and running a script against a local image. He also shows a SGLang server option and reports roughly 8.3 GB of GPU VRAM use at full precision.
The examples show both useful output and errors. The presenter reports that handwritten physics equations convert to LaTeX, while a printed math solution takes about two seconds. That solution loses a fraction bar. An invoice retains text and table structure but has a missing final line, which he suspects relates to his script's context length. A handwriting sample containing English, Urdu and Indonesian causes repetitive output at the Urdu sentence. His suggestion that the model mainly supports English and Chinese is tentative.
An 1883 newspaper test takes a reported 1.9 seconds for body text, but skips a decorative masthead and misreads the year and price. These examples make manual checking necessary for ornate print and mixed-language handwriting.
Mirza explains SR-SWA as retaining a small set of references during long document parsing. He cites the authors' benchmark results, including a score around 77 on a 100-page test. Those results are author-reported; the demonstrations do not establish unlimited document capacity. The video credits Mass Compute as its GPU sponsor.