camelot-dev / camelot-dev/camelot

text(or textedge) coordinate have negative value

Open
#379 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.8k
Forks
546
Avg merge
3d 17h
Merged PRs (30d)
3

Description

When i use stream to parse a pdf and show the text plot,there have many negative values in the plot and the plot looks irrelevant to the actual pdf content.
Some negative values like:
, , , ,

plot like this:
![Figure_1](https://github.com/camelot-dev/camelot/assets/64120413/5a8970c4-37d6-4b45-8f09-1cbf1ef86c01)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the stream parsing and text plot described in the issue, using the reported TextEdge values as the initial symptom. Trace how those coordinates reach the plot and compare them with the source PDF; done means the plotted text matches the PDF content and the reported invalid negative coordinates are handled correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.