How to recognize table from PDF files by PageObject Rectangles?

本文探讨了如何从PDF文件中识别并提取表格数据的方法。作者希望通过使用矩形算法来定位表格的位置,并进一步解析表格的具体内容,包括表头、行和列等元素。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Rectangles of the PDF text objects

I want to recognize tables inside PDF, now I have rectangles of the PDF Text Object.I'm confused about how to implement this rectangle algorithm. The programming language what I use is VC++.

What I want to get is:the desired resultThe Result is a perfect table with header, rows, columns.Can anyone help me? How to rectangle table from these rectangles? These rectangles' orginal point (0, 0) is on the bottom-left point. x coordinate grow from left to right, and y coordinate grow from bottom to up.I don't want to use 3rd party. I want to implement this function through rectangle algorithm.

Any help would be greatly appreciated!


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值