如何裁剪相机preVIEW&QUOT形象;护目镜风格" - Android电子 [英] How to crop image on camera preview "Goggles style" - Android

查看:163
本文介绍了如何裁剪相机preVIEW&QUOT形象;护目镜风格" - Android电子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想作一个小小的Andr​​oid应用程序的读取图片文字。我已经实现的tesseract工具,Android和我能够从相机拍摄的照片识别文本。我现在的问题是拍摄的画面,距离真正严格。这不是真正的用户友好的用户是否有是在从文本中他(她)正试图读取非常精确的距离。

I'm trying to make a small Android application that reads text from pictures. I've already implemented Tesseract tools for Android and I'm able to recognize text from pictures taken with camera. My current problem is that distance for taking picture is really strict. It's not really user friendly if users has to be at very exact distance from text (s)he's trying to read.

我在想,在这里用户能够裁剪图像的特定部分(相机preVIEW)最好的办法做到像在谷歌护目镜是他(她)喜欢进行扫描。是否有任何现成的自定义相机(找不到任何),或有任何的你做了吗?

I was thinking that best way would do it like in Google Goggles where user is able to crop specific part of image (on camera preview) that (s)he likes to scan. Is there any ready custom cameras (couldn't find any) or have any of you done it?

谢谢,拉塞

推荐答案

我在我的应用程序相同的问题。

I have the same problem in my application.

下面(ALA谷歌护目镜 裁剪图像),你可以找到一个解决方案,但它不是那么干净像我会的,所以我仍然在寻找更好的东西。

Here (Crop image ala Google Goggles) you can find a solution but it is not so "clean" like I would, so I'm still looking for something better.

编辑:找到了!的http://adblogcat.com/a-camera-$p$pview-with-a-bounding-box-like-google-goggles/

这篇关于如何裁剪相机preVIEW&QUOT形象;护目镜风格" - Android电子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆