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

tmhhost:暑假快乐,全高端线路,VPS直接8折,200G高防,美国gia日本软银韩国cn2香港cn2大带宽

tmhhost为2021年暑假开启了全场大促销,全部都是高端线路的VPS,速度快有保障。美国洛杉矶CN2 GIA+200G高防、洛杉矶三网CN2 GIA、洛杉矶CERA机房CN2 GIA,日本软银(100M带宽)、香港BGP直连200M带宽、香港三网CN2 GIA、韩国双向CN2。本次活动结束于8月31日。官方网站:https://www.tmhhost.com8折优惠码:TMH-SUMMER日本...

阿里云金秋上云季,云服务器秒杀2C2G5M年付60元起

阿里云(aliyun)在这个月又推出了一个金秋上云季活动,到9月30日前,每天两场秒杀活动,包括轻量应用服务器、云服务器、云数据库、短信包、存储包、CDN流量包等等产品,其中Aliyun轻量云服务器最低60元/年起,还可以99元续费3次!活动针对新用户和没有购买过他们的产品的老用户均可参与,每人限购1件。关于阿里云不用多说了,国内首屈一指的云服务器商家,无论建站还是学习都是相当靠谱的。活动地址:h...

virmach:3.23美元用6个月,10G硬盘/VirMach1核6个月Virmach

virmach这是第二波出这种一次性周期的VPS了,只需要缴费1一次即可,用完即抛,也不允许你在后面续费。本次促销的是美国西海岸的圣何塞和美国东海岸的水牛城,周期为6个月,过后VPS会被自动且是强制性取消。需要临时玩玩的,又不想多花钱的用户,可以考虑下!官方网站:https://www.virmach.comTemporary Length Service Specials圣何塞VPS-一次性6个...

文字识别系统为你推荐
邮箱怎么写工作邮箱怎么填安装程序配置服务器失败SQL安装程序配置服务器失败赵雨润情人节“我们约会吧”电影DVD_我们约会吧高清DVD下载_qvod快播??万网核心代理万网代理商?中国万网认证核心分销商?flash导航条FLASH导航条 怎么加入链接?xp系统停止服务Windowsxp系统为什么停止服务mate8价格手机华为mat8售价多少商标注册查询官网全国商标注册查询在哪里查呀?虚拟专用网安卓手机的虚拟专用网设置是什么东西?怎么用?虚拟专用网intranet,extranet,虚拟专用网与internet有什么区别与联系
vps服务器 lamp vir idc评测 私服服务器 typecho 云鼎网络 云全民 ftp教程 php空间购买 河南移动m值兑换 重庆双线服务器托管 美国独立日 服务器是干什么用的 视频服务器是什么 photobucket 申请免费空间 买空间网 存储服务器 xshell5注册码 更多