在 android 中使用 Google docs API 进行 OCR

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10715715/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-20 04:44:04  来源:igfitidea点击:

Using Google docs API for OCR in android

androidocrgoogle-docs-api

提问by Akhila Nair

I am trying to develop an android app which uses OCR. The app should be able to scan business cards and other documents to pull the content.

我正在尝试开发一个使用 OCR 的 android 应用程序。该应用程序应该能够扫描名片和其他文档以提取内容。

Is it possible to implement this using Google Docs Api? How do I do it?

是否可以使用 Google Docs Api 来实现?我该怎么做?

回答by Claudio Cherubino

The Google Documents List APIallows to upload PDFs or images and automatically perform OCR to extract their text.

谷歌文档列表API允许上传PDF或图片,并自动执行OCR,并提取其文本。

回答by dg_no_9

You may use Tesseract. It's powerful library and it has java wrapper Tess4jtoo.

您可以使用Tesseract。它是一个强大的库,它也有 Java 包装器Tess4j

回答by Gaurav

you can use Google Cloud Vision API. its free for 1-1000 units/month. you can check pricing here

您可以使用Google Cloud Vision API。每月 1-1000 件免费。你可以在这里查看价格

回答by R.daneel.olivaw

maybe you will find OpenCVuseful. It's a powerful native library with an Android wrapper.

也许你会发现OpenCV很有用。它是一个带有 Android 包装器的强大本机库。