{"by":"ses425500000","descendants":38,"id":43590998,"kids":[43594848,43591383,43591697,43592384,43598623,43593797,43592408,43596947,43598060,43593560,43592934],"score":170,"text":"Hi HN,<p>I’ve been working on an OCR pipeline specifically optimized for machine learning dataset preparation. It’s designed to process complex academic materials — including math formulas, tables, figures, and multilingual text — and output clean, structured formats like JSON and Markdown.<p>Some features:\n • Multi-stage OCR combining DocLayout-YOLO, Google Vision, MathPix, and Gemini Pro Vision\n • Extracts and understands diagrams, tables, LaTeX-style math, and multilingual text (Japanese&#x2F;Korean&#x2F;English)\n • Highly tuned for ML training pipelines, including dataset generation and preprocessing for RAG or fine-tuning tasks<p>Sample outputs and real exam-based examples are included (EJU Biology, UTokyo Math, etc.)\nWould love to hear any feedback or ideas for improvement.<p>GitHub: <a href=\"https:&#x2F;&#x2F;github.com&#x2F;ses4255&#x2F;Versatile-OCR-Program\">https:&#x2F;&#x2F;github.com&#x2F;ses4255&#x2F;Versatile-OCR-Program</a>","time":1743830553,"title":"Show HN: OCR pipeline for ML training (tables, diagrams, math, multilingual)","type":"story","url":"https://github.com/ses4255/Versatile-OCR-Program"}