epam / epam/badgerdoc

hOCR spec inconsistency

Open
#1,105 0 comments 0 reactions 0 assignees View on GitHub
back-end bug
Dominant language
Python
Stars
44
Forks
52
PR merge metrics
No merged PRs in 30d

Description

When triggeting Deepseek OCR 2 on a document we receive the following error.

`Validation error: {'non_field_errors': [ErrorDetail(string='Extraction page HTML content does not align with hOCR spec: [ERROR] extraction-page:9

: Requires the "ocr_header" capability but it is not specified\n[WARN] extraction-page Recommended metadata field \'ocr-langs\' missing', code='invalid')]}`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.