docTR 0.6.0 发布,OCR 文档文本识别库
docTR 是一个无缝、高性能且可访问的库,用于由深度学习支持的 OCR 相关任务。 docTR 0.6.0 发布了,doctr 0.6.0 需要 TensorFlow >= 2.9.0 或 PyTorch >= 1.8.0。 版本亮点: 与 Huggingface Hub 完全集成 从 Hub 加载: from doctr.io import DocumentFile from doctr.models import ocr_predictor, from_hub image = DocumentFile.from_images(['data/example.jpg']) # Load a custom detection model from huggingface hub det_model = from_hub('Felix92/doctr-torch-db-mobilenet-v3-large') # Load a custom recognition model from huggingface hub reco_model = from_hub...