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

SugarHosts糖果主机,(67元/年)云服务器/虚拟主机低至半价

SugarHosts 糖果主机商也算是比较老牌的主机商,从2009年开始推出虚拟主机以来,目前当然还是以虚拟主机为主,也有新增云服务器和独立服务器。早年很多网友也比较争议他们家是不是国人商家,其实这些不是特别重要,我们很多国人商家或者国外商家主要还是看重的是品质和服务。一晃十二年过去,有看到SugarHosts糖果主机商12周年的促销活动。如果我们有需要香港、美国、德国虚拟主机的可以选择,他们家的...

Boomer.host:$4.95/年-512MB/5GB/500GB/德克萨斯州(休斯顿)

部落曾经在去年分享过一次Boomer.host的信息,商家自述始于2018年,提供基于OpenVZ架构的VPS主机,配置不高价格较低。最近,主机商又在LET发了几款特价年付主机促销,最低每年仅4.95美元起,有独立IPv4+IPv6,开设在德克萨斯州休斯顿机房。下面列出几款VPS主机配置信息。CPU:1core内存:512MB硬盘:5G SSD流量:500GB/500Mbps架构:KVMIP/面板...

SugarHosts糖果主机商更换域名

昨天,遇到一个网友客户告知他的网站无法访问需要帮他检查到底是什么问题。这个同学的网站是我帮他搭建的,于是我先PING看到他的网站是不通的,开始以为是服务器是不是出现故障导致无法打开的。检查到他的服务器是有放在SugarHosts糖果主机商中,于是我登录他的糖果主机后台看到服务器是正常运行的。但是,我看到面板中的IP地址居然是和他网站解析的IP地址不同。看来官方是有更换域名。于是我就问 客服到底是什...

文字识别系统为你推荐
如何免费开通黄钻怎样才能免费开通黄钻缓冲区溢出教程溢出攻击原理吴晓波频道买粉看吴晓波频道的心得1433端口路由器1433端口怎么开启创维云电视功能创维云电视是指什么机械键盘轴机械键盘的轴哪种好?系统分析员系统分析师是做什么 的网站优化方案几种常用的网站优化方法微信怎么看聊天记录怎样才能调取微信聊天记录微信怎么看聊天记录怎样查找一个人的微信聊天记录
免费com域名注册 黑龙江域名注册 老左 独享100m edis 火车票抢票攻略 admit的用法 cdn联盟 91vps 速度云 流量计费 美国在线代理服务器 如何用qq邮箱发邮件 免费dns解析 微软服务器操作系统 smtp虚拟服务器 789 lick 学生机 shuangcheng 更多