如何检测水平线及其在PDF页面中的位置

发布于 2025-01-25 16:28:33 字数 339 浏览 2 评论 0原文

如何使用PDFBox版本3.0来检测水平线及其位置。

pdfbox版本中的水平线/a>

我试图遵循上述链接并实现解决方案,但是从那以后发生了很多变化,因此很难实现上述解决方案。

我无法上传示例PDF,因为它是机密的,但是这些方案包括水平表边框线,文本下方的线 - 单行和双线。

How to detect the horizontal lines and their location in a PDF page using PDFBox version 3.0.

Horizontal lines in PDFBox version1.x

I tried to follow the above link and implement the solution but, a lot has changed since then, so it is difficult to implement the above solution.

I am unable to upload a sample PDF as it is confidential but, the scenarios include horizontal table border lines, lines below the text - single and double lines.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

So要识趣 2025-02-01 16:28:33

@tilman Hausherr感谢您引用链接以实现水平线检测。我能够成功地识别水平线及其位置。
线路检测和位置检测

@Tilman Hausherr Thank you for refering the link to implement the horizontal line detection. I am successfully able to indetify the horizontal lines and their location.
Line detection and location

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文