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

月神科技:香港CN2/洛杉矶CN2/华中电信高防vps,月付20元起

月神科技怎么样?月神科技是由江西月神科技有限公司运营的一家自营云产品的IDC服务商,提供香港安畅、香港沙田、美国CERA、华中电信等机房资源,月神科技有自己的用户群和拥有创宇认证,并且也有电商企业将业务架设在月神科技的平台上。目前,香港CN2云服务器、洛杉矶CN2云主机、华中电信高防vps,月付20元起。点击进入:月神科技官方网站地址月神科技vps优惠信息:香港安畅CN2-GIA低至20元核心:2...

digital-vm$80/月,最高10GDigital-VM1Gbps带宽带宽

digital-vm在日本东京机房当前提供1Gbps带宽、2Gbps带宽、10Gbps带宽接入的独立服务器,每个月自带10T免费流量,一个独立IPv4。支持额外购买流量:20T-$30/月、50T-$150/月、100T-$270美元/月;也支持额外购买IPv4,/29-$5/月、/28-$13/月。独立从下单开始一般24小时内可以上架。官方网站:https://digital-vm.com/de...

Hostodo,美国独立日特价优惠,四款特价VPS云服务器7折,KVM虚拟架构,NVMe阵列,1核512M内存1Gbps带宽3T月流量,13.99美元/月,赠送DirectAdmin授权

Hostodo近日发布了美国独立日优惠促销活动,主要推送了四款特价优惠便宜的VPS云服务器产品,基于KVM虚拟架构,NVMe阵列,1Gbps带宽,默认分配一个IPv4+/64 IPv6,采用solusvm管理,赠送收费版DirectAdmin授权,服务有效期内均有效,大致约为7折优惠,独立日活动时间不定,活动机型售罄为止,有需要的朋友可以尝试一下。Hostodo怎么样?Hostodo服务器好不好?...

文字识别系统为你推荐
邮箱打不开怎么办我的邮箱打不开怎么办百度手写百度为什么没有了在线手写输入法ps抠图技巧photoshop最基本的抠图方法和技巧!如何建立一个网站如何建立一个网站?网易公开课怎么下载手机上的网易公开课的付费课程怎么下载??????godaddyGodaddy域名怎么接受ios7固件下载ios 7及以上固件请在设备上点信任在哪点二层交换机什么是二层交换机和三层交换机???小米手柄小米手柄和飞智手柄哪个好?服务器连接异常手机服务器连接异常
域名交易 如何申请域名 sharktech 主机点评 香港机房托管 标准机柜尺寸 网站被封 免费ftp空间申请 亚洲小于500m 微信收钱 789电视网 双11秒杀 服务器托管什么意思 ftp免费空间 hdd 33456 789电视剧 shuang12 数据库空间 forwarder 更多