翻译基于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

搬瓦工最新套餐KVM,CN2线路

搬瓦工在国内非常流行的主机商,以提供低价的vps著称.不过近几年价格逐渐攀升.不过稳定性和速度一向不错.依然深受国内vps爱好者喜爱.新上线的套餐经常卖到断货.支持支付宝,paypal很方便购买和使用.官网网站:https://www.bandwagonhost.com[不能直接访问,已墙]https://www.bwh88.net[有些地区不能直接访问]https://www.bwh81.net...

LOCVPS-2021年6月香港便宜vps宽带升级,充值就送代金券,其它八折优惠!

LOCVPS怎么样?LOCVPS是一家成立于2011年的稳定老牌国人商家,目前提供中国香港、韩国、美国、日本、新加坡、德国、荷兰等区域VPS服务器,所有机房Ping延迟低,国内速度优秀,非常适合建站和远程办公,所有机房Ping延迟低,国内速度优秀,非常适合做站。XEN架构产品的特点是小带宽无限流量、不超售!KVM架构是目前比较流行的虚拟化技术,大带宽,生态发展比较全面!所有大家可以根据自己业务需求...

RAKsmart含站群服务器/10G带宽不限流量首月半价

RAKsmart 商家估摸着前段时间服务器囤货较多,这两个月的促销活动好像有点针对独立服务器。前面才整理到七月份的服务器活动在有一些配置上比上个月折扣力度是大很多,而且今天看到再来部分的服务器首月半价,一般这样的促销有可能是商家库存充裕。比如近期有一些服务商挖矿服务器销售不好,也都会采用这些策略,就好比电脑硬件最近也有下降。不管如何,我们选择服务器或者VPS主机要本着符合自己需求,如果业务不需要,...

文字识别系统为你推荐
伪装微信地理位置如何用伪装微信地理位置?怎么样免费装扮qq空间如何免费装扮qq空间吴晓波频道买粉看吴晓波频道的心得1433端口路由器1433端口怎么开启申请证书求高手教下怎么申请证书腾讯文章腾讯罗剑楠是何许人也?迅雷云点播账号求一个迅雷云点播vip的账号,只是看的,绝不动任何手脚。bt封杀现在是全面封杀BT下载了吗?现在都找不到BT下载影片了2012年正月十五山西省太原市2012年正月十五活动的相关情况二层交换机什么是三层交换机?什么是二层叫交换机?有什么区别?
域名中介 传奇服务器租用 godaddy主机 鲨鱼机 国外空间服务商 shopex空间 lamp配置 php免费空间 免费ftp空间申请 元旦促销 165邮箱 免费个人空间 中国网通测速 多线空间 卡巴斯基免费试用版 数据库空间 空间申请 windowsserver2012r2 winserver2008下载 cdn免备案空间 更多