What is RapidOCR?
Lightweight OCR based on ONNX Runtime for fast inference. Best for speed and lightweight deployment.Usage
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
languages | List[str] | ['en'] | List of language codes (primarily ‘en’ and ‘ch’) |
confidence_threshold | float | 0.0 | Minimum confidence for text blocks |
rotation_fix | bool | False | Auto-detect and fix image rotation |
enhance_contrast | bool | False | Enhance image contrast |
remove_noise | bool | False | Apply noise reduction |
pdf_dpi | int | 300 | DPI for PDF rendering |

