How to detect the HLines correctly?
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reproducing the result with the linked CFTC PDF and inspect the generated Pages.HLines, VLines, and Fills fields. The issue names no source file, test, or module; done should establish which module handles line detection and whether the reported horizontal lines are represented correctly.
Written by the indexing model from the issue text.
Description
Dear all,
I like to know how to detect the hLines correctly.
- Which module does it?
- How to improve it?
See the picture: No HLine deteced.
The Fille might be seen as kind of but why is it so difficult to see the lines?
Thank You all for Your contributions!
Testfile to receive from: https://www.cftc.gov/media/10156/AI_RFC_012524/download
Result header of first page:
{"Transcoder":"[email protected] [https://github.com/modesty/pdf2json]",
"Meta":{"PDFFormatVersion":"1.6", "IsAcroFormPresent":false,"IsXFAPresent":false,"
Title":"Request for Comment on the Use of Artificial Intelligence in CFTC-Regulated Markets",
"Author":"CFTC","Subject":"Request for Comment on the Use of Artificial Intelligence in CFTC-Regulated Markets",
"Keywords":"","Creator":"Acrobat PDFMaker 23 for Word", "Producer":"Adobe PDF Library 23.6.156", "CreationDate":"D:20240125143132-05'00'","ModDate":"D:20240125172143-05'00'"}},
"Pages":[{"Width":38.25,"Height":49.5**,"HLines":[],"VLines":[],**
"Fills":[{"x":4.5,"y":36.57,"w":9,"h":0.045,"oc":"#000"},
{"x":7.755,"y":40.5,"w":19.957,"h":0.03,"oc":"#006fc0"}],
- Dominant language
- Java
- Stars
- 2.2k
- Forks
- 396
- Avg merge
- 9d 19h
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from modesty/pdf2json
-
getRawTextContent() returns the lines of every page in reverse order (bottom to top) since 4.0.3Open
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
-
`getRawTextContent` does not returns words' pieces in proper coordinate orderPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in modesty/pdf2json
Similar issues
-
Area-UIUX Issue-Bug Issue-Easy (good first issue)
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
TeamAmaze/AmazeFileManager#4769 ·
Maintainers usually reply within 7 days
-
Expose SManga.memo & SChapter.memo fields in GraphQL APIs to support source-specific client featuresOpenenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Suwayomi/Suwayomi-Server#2551 ·
Maintainers usually reply within 9 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
ShaftHQ/SHAFT_ENGINE#7861 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
MetricsHub/metricshub-community#1532 ·
Maintainers usually reply within 1 day