Skip to content

feat: Visualizer for table cells #325

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 11, 2025
Merged

Conversation

PeterStaar-IBM
Copy link
Contributor

No description provided.

Signed-off-by: Peter Staar <[email protected]>
@PeterStaar-IBM PeterStaar-IBM self-assigned this Jun 10, 2025
Copy link

mergify bot commented Jun 10, 2025

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?(!)?:

🟢 Require two reviewer for test updates

Wonderful, this rule succeeded.

When test data is updated, we require two reviewers

  • #approved-reviews-by >= 2

Copy link

codecov bot commented Jun 10, 2025

Codecov Report

Attention: Patch coverage is 91.66667% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...ing_core/transforms/visualizer/table_visualizer.py 91.37% 5 Missing ⚠️

📢 Thoughts on this report? Let us know!

@PeterStaar-IBM PeterStaar-IBM marked this pull request as ready for review June 10, 2025 14:51
Signed-off-by: Peter Staar <[email protected]>
Copy link
Collaborator

@vagenas vagenas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have left couple comments inline.

Generally:

  • seeing TableVisualizer, I am expecting it to also visualize the TableItem's top-level bbox (granted that this would overlap with LayoutVisualizer's output)
  • I'd recheck the scope, name (e.g. rename to TableCellVisualizer if applicable), & exposed params

raise RuntimeError(f"Cannot visualize page-image for {page_nr}")

else:
_log.error("Can not yet visualise tables with multiple provenances")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As this does not stop the execution, I would rather use a warning instead of error.

Signed-off-by: Peter Staar <[email protected]>
Copy link
Contributor

@cau-git cau-git left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@cau-git cau-git changed the title feat: visualizing the tables feat: Visualizer for table cells Jun 11, 2025
@PeterStaar-IBM PeterStaar-IBM merged commit 45667c7 into main Jun 11, 2025
11 checks passed
@PeterStaar-IBM PeterStaar-IBM deleted the dev/add-table-visualizer branch June 11, 2025 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants