Giter VIP home page Giter VIP logo

textscanner's Introduction

textScanner

  • Android下拍照识别文字的工具。
  • App下载 =======

概述

  • 类似 微信>>发现>>扫一扫>>翻译 功能(无翻译,不过对识别文字的结果传给google或baidu的翻译web很容易实现了)。

  • 程序能够自动适应竖/横屏幕,屏幕上被识别的区域亮色可见拍摄对象,其它区域半透明可见拍摄对象。触摸屏幕可调整识别区域的亮色矩形大小。识别依赖的数据,使用的是下载的tesseract带的默认训练数据,中文准确率不好,英文和数字的依赖拍照的效果了。

  • 图像识别用的是 tesseract、tesseract-android-tools. 初次运行程序时会把识别用的中/英数据,解压出来(有进度提示)。这部分代码,数据从 code.google.com和github.com获取。 相机的使用处理参考了CSDN上 yanzi1225627的博客内容(android开发分类下的 android 多媒体和相机详解1至11 http://blog.csdn.net/niu_gao/article/details/7570967)。

开发环境

使用Eclipse开发, 在windows7和Ubuntu14下都编译运行,安装到android物理机过。android-support-v7-appcompat,tesserac和tesseract-android-tools代码资源未放进来。

补充说明

本项目的初衷是和朋友聊创业的Demo(关于汽车的,所以代码里有atires---android tires),那个阶段的创业尝试已经放弃了。自己觉得Demo里做的一个小环节---手机随时随地拍照然后识别文字的代码有点价值,所以剥离出来,便于分享,供人使用了。

textscanner's People

Contributors

aceway avatar

Watchers

James Cloos avatar and avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.