搜索和提取文本从PDF文档的Andr​​oid API文本、文档、PDF、API

2023-09-04 04:43:06 作者:星星打烊了

我正在开发一个应用程序,将搜索和从PDF文档中提取文本和显示文本在我的应用程序。

I'm developing a application that would Search and Extract text from PDF Document and Display that text in my application.

有一个现有的API,将搜索和从PDF文档中提取文本?

is there an existing API that would Search and Extract text from a PDF Document?

推荐答案

我已经成功地muPDF到一对夫妇的应用程序,但被警告:这是GPL的,因此你的源代码是公开的。性能好,尽管缺少文档,这是可行的。任何你做这类库,但是,将需要超过的PDF规格的粗略了解。据我所知,没有什么免费的在那里它不受GPL的拖累。

I have successfully integrated muPDF into a couple of apps, but be warned: It's GPL, and thus your sources are public. Performance is good, and despite the lack of documentation, it's workable. Anything you do with these sorts of libraries, however, will require more than cursory knowledge of the PDF specs. As far as I know, there's nothing free out there which isn't encumbered by GPL.