pub fn best_available_backend() -> Result<Box<dyn OcrBackend>, OcrError>Expand description
Return the first available OCR backend in priority order.
The current order is:
ocr-mistralwithMISTRAL_API_KEYocr-googlewithGOOGLE_VISION_API_KEYor Google credentialsocr-azurewithAZURE_DOCUMENT_INTELLIGENCE_*ocr-awswith standard AWS credentialsocr-onnxvia the Paddle ONNX adapterocrvia localocrsmodel files