使用Java或.NET库从ColdFusion对PDF执行光学字符识别? [英] Performing Optical Character Recognition on PDF's from ColdFusion using a Java or .NET Library?
问题描述
我想要一个PDF并从中提取任何文本。然后我想使用ColdFusion的可用的Verity搜索来搜索内容。
I am looking to take a PDF and extract any text from it. I then want to make it available using ColdFusion's available Verity search to search the contents.
有没有任何库已经做得很好?我包括Java或.NET(Java优先)库,因为他们可以从CF调用。
Are there any libraries out there that do this quite well already? I am including Java or .NET (Java prefered) libraries in the scope since they can be called from CF.
任何见解或经验将非常感谢...感谢!
Any insights or experiences would be greatly appreciated... thanks!
编辑:索引PDF文件的工作原理是文本嵌入PDF,就我所知的CF。我必须处理的PDF文本扫描为图像。
Indexing PDF files works when the text is embedded in the PDF as far as I know with CF. The PDFs I'm having to deal with have the text scanned as an image.
推荐答案
如果您有能力运行自己的软件(即专用/ VPS),那么您可以使用 Tesseract OCR 与 cfexecute
以转换PDF到文本?
If you have the ability to run your own software (i.e. Dedicated/VPS) then you could investigate using Tesseract OCR with cfexecute
to convert the PDFs to text?
这篇关于使用Java或.NET库从ColdFusion对PDF执行光学字符识别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!