翻译基于Android移动平台的文字识别系统开发——识别与翻译林润祺20506000

文字识别系统  时间:2021-02-26  阅读:()

论文编号

题目 基于Android移动平台的文字识别系统开发

——识别与翻译

姓名 林润祺

学号 201506100044

院系 信息技术与工程学院

专业班级 物联网工程物联1502

指导教师 李绍强

2019年5月11日

本科毕业论文设计原创性声明

本人郑重声明所呈交的毕业论文设计是本人在导师的指导下 独立进行研究工作所取得的成果。除文中已经注明引用的内容外本论文不含任何其他个人或集体已经发表或撰写过的作品或成果。对本文的研究做出重要贡献的个人和集体均已在文中以明确方式标明。本声明的法律结果由本人承担。

作者签名 日期 年 月 日

本科毕业论文设计版权使用授权书

本论文设计作者完全了解学校有关保留、使用毕业论文设计的规定 同意学校保留并向国家有关部门或机构送交论文设计的复印件和电子版允许论文设计被查阅和借阅。本人授权广州商学院可以将本论文设计的全部或部分内容编入有关数据库进行检索可以采用影印、缩印或扫描等复制手段保存和汇编本论文设计。

本论文设计属于

1保密□在______年解密后适用本授权书。

2 不保密□。

请在以上相应方框内打“√” 

作者签名 日期 年 月 日

指导老师签名 日期 年 月 日

基于Android移动平台的文字识别系统开发——识别与翻译

摘要

在今天的全球化世界里科技不断的进步与创新更加促进了外语学习途径的多样化随着人们学习方式的便捷并迅速的发展特别是以电子词典为主工具的出现用户对此类产品的便捷、功能的要求越来越高。 目前 电子词典的最佳载体是移动设备例如移动电话或计算机其既兼顾了传统的纸质词典的功能 同时移动电子词典APP也有着便携功能齐全并且具有随着因特网实时更新的优点。应用在两大手机系统--Andro id系统中的移动词典AP P更使越来越多的普罗大众能够更加便捷自由的学习外语。因此我们不能忽略Andro id平台逐渐渗透都日常生活的方面。而词典APP实时翻译也就变成了一大热门话题然而在用户翻译外语词汇或句子之前第一步是文字识别第二步才是翻译文本。

OCR(Optical Character Recognition)指使用各种电子设备来完成光学字符识别比如各种照相机以及手机第一步先检测目标文件的字符运用文字的识别的方式将其目标文字形状翻译成计算机文字第二步就是检测出亮与暗之间不同图案来确定其形状。

随着智能手机手机的广泛使用许多And ro id应用程序随着时代的发展而出现逐渐改变了人们尤其是年轻人的生活方式。作为这个时代的新产品手机既高效又便携可随时随地操作。越来越多的人更加频繁地使用移动电话他们可以使用手机做越来越多的事情 比如进行实时通信游戏 网购。智能手机的优势和普及使得基于Andro id移动平台的文本识别翻译系统的开发成为必需。

本文的开发背景是以实际应用为基础运用了软件工程的原理以及其开发方法采用Andro id、 O C R、百度图片翻译S DK构建图像文本识别翻译系统。在整个开发过程中首先分析系统要求并推导出系统主要的功能然后是系统总体设计以及详细设计。后者主要包括了各个功能模块的具体实现。在本文的最后对该系统进行了功能性测试与此同时对测试结果进行分析以及总结并为以后开发类似系统提供了较大的借鉴和帮助。

关键字 图像文字识别翻译 Andro id  O C R百度图片翻译S DK

I

基于Android移动平台的文字识别系统开发——识别与翻译

Abstract

In this globalized world,with by the continuous progress and innovation ofscience and technology, the diversification of foreign language learning approachesand the convenient development of learning methods has been promoted.Users haveincreasingly higher requirements on the convenience and functions of electronicdictionaries, especially the emergence of electronic dictionaries have appeared.Nowadays, the best carrier of electronic dictionaries is mobile devices, such asmobile phones or computers,which also has the functions of traditional paperdictionaries. At the same time, mobile electronic dictionary APP has someadvantages, including portab ility, comp lete functions and update with Internet .Themobile electronic dictionary applied in the Android system enables millions ofInternet users to learn foreign languages more conveniently and freely.The Androidplatform is increasingly permeating aspects of everyday life.Dictionary APPreal-time translation has become a big hit, but before users translate, they shouldreco gnize words.

OCR(Optical Character Recognition) refers to the process that electronicdevices (such as scanners or digital cameras) examine characters printed on paper,determine their shapes by detecting dark and bright patterns, and then translate theshape s into co mputer characters by C haracter Reco gnition method.

With the widespread use of smart phones,many Android applications emergewith the development of The Times and gradually change individuals’ lifestyle,especially the young generation.As the new product of this era,mobile phone is bothefficient and portable, and can be operated anytime and anywhere, this is why theincreasing number of individuals use phone more and more frequently.They can usemobile phones for many activities, such as online games, online shopping andface-to-face communicating.The advantages and popularity of smart phones makethe development of text recognition(translation) system based on Android mobileplatformbe necessary.

This paper is going to talk about the practical application which is based onthe development background, and uses the software principles and developmentmethods, and applies Android,OCR and Baidu translation API technology to buildthe image text recognition (translation) system. Firstly, the whole developmentprocess is going to analyzes the requirements of this system and derives as well asthe main functions of this system, in addition to the overall design and detaileddesign of this system.Secondly, thisdesign includes the whole function modules how

II

基于Android移动平台的文字识别系统开发——识别与翻译

to realize as well as the crucial codes of this program.Lastly, the system is functionaltested, as well as this results have been analyzed and summarized. In addition, thedefect parts or the improvement of this system are going to concluded,whichprovides convenience for the future system maintenance and gives some advice forthe other development of similar systems.

Key words Image text recognition(translation);Android;OCR;Baidu ImageTrans lation SDK

III

基于Android移动平台的文字识别系统开发——识别与翻译

IV

基于Android移动平台的文字识别系统开发——识别与翻译

目录

摘要......................................................................................................................................I

Abstract..............................................................................................................................II

目录.....................................................................................................................................V

1绪论. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1

1.1背景及意义. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1

1.2国内外的研究情况. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2

1.3研究内容. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3

1.4论文组织结构. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3

2相关技术. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4

2.1 Andro id技术. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4

2.2 Andro id的系统架构. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4

2.3 Andro id内核. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5

2.4 OCR简介. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5

2.5JAVA(计算机编程语言. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6

2.6文字识别技术. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7

2.7百度图片翻译S DK. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7

3系统分析. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12

3.1可行性分析. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12

3.1.1技术可行性. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12

3.1.2操作可行性. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13

3.1.3经济可行性. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13

3.2需求分析. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13

3.2.1市场需求. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13

3.2.2性能需求. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14

3.2.3界面需求. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14

3.3系统功能分析. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15

3.3.1功能概述. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15

3.3.2系统功能结构. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15

3.4开发环境分析. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16

4系统设计. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17

4.1设计目标及原则. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17

4.2系统概要设计. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17

4.2.1系统流程. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17

V

iHostART:罗马尼亚VPS/无视DMCA抗投诉vps;2核4G/40GB SSD/100M端口月流量2TB,€20/年

ihostart怎么样?ihostart是一家国外新商家,主要提供cPanel主机、KVM VPS、大硬盘存储VPS和独立服务器,数据中心位于罗马尼亚,官方明确说明无视DMCA,对版权内容较为宽松。有需要的可以关注一下。目前,iHostART给出了罗马尼亚vps的优惠信息,罗马尼亚VPS无视DMCA、抗投诉vps/2核4G内存/40GB SSD/100M端口月流量2TB,€20/年。点击直达:ih...

无忧云:洛阳/大连BGP云服务器38.4元/月,雅安物理机服务器315元/月起,香港荃湾CN2限时5折优惠

无忧云怎么样?无忧云是一家成立于2017年的老牌商家旗下的服务器销售品牌,现由深圳市云上无忧网络科技有限公司运营,是正规持证IDC/ISP/IRCS商家,主要销售国内、中国香港、国外服务器产品,线路有腾讯云国外线路、自营香港CN2线路等,都是中国大陆直连线路,非常适合免备案建站业务需求和各种负载较高的项目,同时国内服务器也有多个BGP以及高防节点,目前商家开启了夏日清凉补贴活动,商家的机器还是非常...

RAKsmart 年中活动 独立服务器限时$30秒杀 VPS主机低至$1.99

RAKsmart 虽然是美国主机商,但是商家的主要客户群还是在我们国内,于是我们可以看到每次的国内节日促销活动期间商家也会发布促销。包括这次年中大促活动,RAKsmart商家也有发布为期两个月的年终活动,其中有商家擅长的独立服务器和便宜VPS主机。服务器包括站群服务器、特价服务器、高达10G带宽不限制流量的美国服务器。商家优惠活动,可以看到对应商品的优惠,同时也可以使用 优惠码 RAKBL9 同时...

文字识别系统为你推荐
易pc易PC价格多少伪静态什么是伪静态网站联盟网盟跟b2b平台有什么区别网站联盟网络联盟是什么意思iphone越狱后怎么恢复苹果手机越狱之后能恢复原来吗?网易公开课怎么下载如何下载网易公开课qq怎么发邮件手机QQ怎么发邮件mate8价格手机华为mat8售价多少机械键盘轴大家觉得机械键盘什么轴最舒服iphone6上市时间苹果6是什么时候出的 ?
台湾虚拟主机 免费域名申请 独享100m buyvm fastdomain googleapps 私人服务器 网站保姆 搜狗抢票助手 骨干网络 阿里云浏览器 申请个人网站 phpmyadmin配置 域名与空间 linode支付宝 lick 华为云建站 wordpress中文主题 腾讯数据库 服务器硬件配置 更多