【问题标题】:Scan image and detect the text android [closed]扫描图像并检测文本android [关闭] 【发布时间】:2017-05-20 06:44:03 【问题描述】: 我想扫描图像以检测图像中的颜色和文本。我发现 OCR tutorial 也可以这样做并实现它。但我不想捕获图像只想扫描图像并检测文本。是否有任何库可以在我扫描时检测图像中的文本和颜色? 谢谢! 【问题讨论】: 标签: android android-studio sdk ocr image-scanner 【解决方案1】: 您可以查看google's Vision API。它具有上述功能并且相当易于使用。 【讨论】: 【解决方案2】: 在这里,我在下面的链接中提供了更多 OCR 相关代码的示例: http://asprise.com/royalty-free-library/java-ocr-api-overview.html https://github.com/googlesamples/android-vision/tree/master/visionSamples/ocr-codelab 【讨论】: