👉 Try the demo: https://github.com/LM-Kit/lm-kit-net-samples/tree/main/console_net/document-intelligence/ocr/plain_text_image_ocr
OCR for C# .NET Applications
🎯 Purpose of the Demo
Vision-language OCR pipeline. Loads a compact VLM-OCR model and runs VlmOcrIntent.PlainText on each input image.
✨ Key Features
LM.LoadFromModelID("paddleocr-vl-1.6:0.9b")for the smallest OCR-capable VLM in the catalog.new VlmOcr(model, VlmOcrIntent.PlainText).VlmOcr.Run(ImageBuffer)returningVlmOcrResult { TextGeneration, PageElement }.- Available intents:
PlainText,TableRecognition,Markdown,FormulaRecognition,ChartRecognition.
⚙️ Getting Started
cd lm-kit-net-samples/console_net/document-intelligence/ocr/plain_text_image_ocr
dotnet run -- C:\scans\receipt.png