RapidOCR
A lightweight OCR toolchain converted from PaddleOCR models, running inference through ONNX Runtime and requiring no PyTorch or PaddlePaddle dependencies.
Timeline (last 90 days)
When the network is unavailable, PaperToProfit falls back to the local ONNX model RapidOCR, detecting text boxes on the CPU and pairing dish names with quantities and prices via a two-dimensional spatial clustering algorithm that groups by a vertical midpoint threshold and sorts by horizontal coordinates.
The document processing layer uses RapidOCR (based on converted PaddleOCR models, inference via ONNX Runtime) together with PyMuPDF, reading the embedded text layer directly for vector PDFs, falling back to the OCR pipeline for scanned documents, and reconstructing layout structure through spatial bounding box clustering.
All Facts (2)
When the network is unavailable, PaperToProfit falls back to the local ONNX model RapidOCR, detecting text boxes on the CPU and pairing dish names with quantities and prices via a two-dimensional spatial clustering algorithm that groups by a vertical midpoint threshold and sorts by horizontal coordinates.
50%UnverifiedThe document processing layer uses RapidOCR (based on converted PaddleOCR models, inference via ONNX Runtime) together with PyMuPDF, reading the embedded text layer directly for vector PDFs, falling back to the OCR pipeline for scanned documents, and reconstructing layout structure through spatial bounding box clustering.
50%