Add font style information to the `Word` class

Đang mở
#2,025 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
12/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Lĩnh vực
machine-learning

Hướng nghiên cứu

The request is to add font style detection (bold, colour, underline) to the Word class, but the issue names no file or entry point. Look at where Word is defined in the OCR predictor output and at how the recognition models produce per-word results. Done would mean agreeing on the style schema and a model or post-processing step, which is design work for maintainers first.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

type: enhancement
🚀 The feature

I use docTR as OCR pre-processing before I send the text data into a LLM to extract data. However, a lot of information is encoded in font style like important things are often in bold or red or double underlined. Since there is already the possibility to combine networks, I was wondering whether you can train/add a network which can estimate font styles.

Motivation, pitch

Using annotated data for LLMs increases the accuracy of the task the LLM has to do, because if gets a context what is the important thing in a line or block.

Alternatives

Currently there is no alternative then just hoping the LLM can figure it out.

Additional context

No response

Ngôn ngữ chính
Python
Star
6.4k
Fork
684
Merge trung bình
1 ngày 5 giờ
Pull request đã merge (30 ngày)
28

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mindee/doctr

Tất cả issue của mindee/doctr

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.