Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add font style information to the `Word` class

Open
#2,025 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
12/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale

Research direction

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.

Written by the indexing model from the issue text.

Description

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

Dominant language
Python
Stars
6.4k
Forks
684
Avg merge
20h 40m
Merged PRs (30d)
30

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mindee/doctr

All issues in mindee/doctr

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.