Android应用源码借助Py服务端进行ocr文字识别的项目.zip

上传者: 39841856 | 上传时间: 2022-05-22 23:54:31 | 文件大小: 4.79MB | 文件类型: ZIP
本例子是一个基于安卓的ocr(文字识别)的例子源码。与传统的在安卓手机上直接拍照识别不同,本项目的实现思路是先由客户端拍照,然后画出照片的指定区域上传到服务端,服务端调用文字识别引擎进行识别然后把结果再反馈回手机客户端,本项目的客户端主要实现了拍摄场景图片,大致划出感兴趣文字区域,通过socket通信上传服务器端识别,服务器端使用了Python server进行socket通信监听,连通后调用文字识别引擎(exe可执行程序),将识别结果返回,另外由于本项目不是做产品,对效率的考虑并没有在意。现在的话是将手机拍照后的整幅图片上传,虽然进行了压缩,但一副图仍有几百KB大小,这对流量实在太过浪费。解决的话也简单,只要将划取的文字区域单独取出来上传即可(但四周需要一定程度的扩展),大小应该减小几十倍。本项目有简单的注释默认编码GBK编译版本4.4.23。本项目服务端是基于Python的,需要测试者有一定Python基础。

文件下载

资源详情

[{"title":"( 78 个子文件 4.79MB ) Android应用源码借助Py服务端进行ocr文字识别的项目.zip","children":[{"title":"Android应用源码借助Py服务端进行ocr文字识别的项目","children":[{"title":"本源码使用帮助.txt <span style='color:#111;'> 770B </span>","children":null,"spread":false},{"title":"STR Server","children":[{"title":"upload","children":[{"title":"tmp.jpg <span style='color:#111;'> 532.40KB </span>","children":null,"spread":false}],"spread":true},{"title":"FKCHH.dll <span style='color:#111;'> 172.00KB </span>","children":null,"spread":false},{"title":"FRCHH.dll <span style='color:#111;'> 56.00KB </span>","children":null,"spread":false},{"title":"FPCHH.dll <span style='color:#111;'> 104.00KB </span>","children":null,"spread":false},{"title":"server.py <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"Dictionary","children":[{"title":"CHH009.dic <span style='color:#111;'> 52.50KB </span>","children":null,"spread":false},{"title":"CHH014.dic <span style='color:#111;'> 56.00KB </span>","children":null,"spread":false},{"title":"CHH001.dic <span style='color:#111;'> 13.14KB </span>","children":null,"spread":false},{"title":"CHH019.dic <span style='color:#111;'> 58.00KB </span>","children":null,"spread":false},{"title":"CHH007.dic <span style='color:#111;'> 440.00KB </span>","children":null,"spread":false},{"title":"CHH017.dic <span style='color:#111;'> 478B </span>","children":null,"spread":false},{"title":"CHH013.dic <span style='color:#111;'> 56.00KB </span>","children":null,"spread":false},{"title":"CHH018.dic <span style='color:#111;'> 29.88KB </span>","children":null,"spread":false},{"title":"CHH002.dic <span style='color:#111;'> 358B </span>","children":null,"spread":false}],"spread":true},{"title":"STREngine.exe <span style='color:#111;'> 56.00KB </span>","children":null,"spread":false},{"title":"FPSHH.dll <span style='color:#111;'> 52.00KB </span>","children":null,"spread":false},{"title":"FLCHH.dll <span style='color:#111;'> 140.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"目录列表.txt <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"场景文字识别.pdf <span style='color:#111;'> 1.26MB </span>","children":null,"spread":false},{"title":"STR Client","children":[{"title":".project <span style='color:#111;'> 858B </span>","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"com","children":[{"title":"example","children":[{"title":"tr","children":[{"title":"KernelActivity.java <span style='color:#111;'> 7.79KB </span>","children":null,"spread":false},{"title":"MainActivity.java <span style='color:#111;'> 2.46KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"drawable-ldpi","children":null,"spread":false},{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 8.39KB </span>","children":null,"spread":false},{"title":"yellow.jpg <span style='color:#111;'> 38.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"values-v11","children":[{"title":"styles.xml <span style='color:#111;'> 334B </span>","children":null,"spread":false}],"spread":true},{"title":"menu","children":[{"title":"main.xml <span style='color:#111;'> 263B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.15KB </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"activity_kernel.xml <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"activity_main.xml <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false}],"spread":false},{"title":"values-sw600dp","children":[{"title":"dimens.xml <span style='color:#111;'> 203B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 25.46KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 13.15KB </span>","children":null,"spread":false}],"spread":false},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 175B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 697B </span>","children":null,"spread":false},{"title":"dimens.xml <span style='color:#111;'> 220B </span>","children":null,"spread":false}],"spread":false},{"title":"values-sw720dp-land","children":[{"title":"dimens.xml <span style='color:#111;'> 277B </span>","children":null,"spread":false}],"spread":false},{"title":"values-v14","children":[{"title":"styles.xml <span style='color:#111;'> 391B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 177B </span>","children":null,"spread":false}],"spread":true},{"title":"assets","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"example","children":[{"title":"tr","children":[{"title":"BuildConfig.java <span style='color:#111;'> 156B </span>","children":null,"spread":false},{"title":"R.java <span style='color:#111;'> 2.91KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"libs","children":[{"title":"android-support-v4.jar <span style='color:#111;'> 606.89KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 475B </span>","children":null,"spread":false},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"ic_launcher-web.png <span style='color:#111;'> 204.99KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"resources.ap_ <span style='color:#111;'> 80.03KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"example","children":[{"title":"tr","children":[{"title":"R$layout.class <span style='color:#111;'> 430B </span>","children":null,"spread":false},{"title":"R$style.class <span style='color:#111;'> 419B </span>","children":null,"spread":false},{"title":"R$dimen.class <span style='color:#111;'> 449B </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 337B </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 425B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 328B </span>","children":null,"spread":false},{"title":"KernelActivity$1.class <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"KernelActivity.class <span style='color:#111;'> 6.49KB </span>","children":null,"spread":false},{"title":"KernelActivity$ButtonListener$1.class <span style='color:#111;'> 3.41KB </span>","children":null,"spread":false},{"title":"KernelActivity$ButtonListener.class <span style='color:#111;'> 2.84KB </span>","children":null,"spread":false},{"title":"MainActivity$ButtonListener.class <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 638B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 633B </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 425B </span>","children":null,"spread":false},{"title":"R$menu.class <span style='color:#111;'> 376B </span>","children":null,"spread":false},{"title":"MainActivity.class <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"KernelActivity$ImageListener.class <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false},{"title":"dexedLibs","children":[{"title":"android-support-v4-3084e92f9aa3646e5cbc80cfb45a61ef.jar <span style='color:#111;'> 227.16KB </span>","children":null,"spread":false},{"title":"android-support-v4-70b5d9f7d5b70b98ac35e841219b48bc.jar <span style='color:#111;'> 227.16KB </span>","children":null,"spread":false},{"title":"android-support-v4-3cbdf56989d97c69f29b7a6c09ebf7ad.jar <span style='color:#111;'> 227.16KB </span>","children":null,"spread":false},{"title":"android-support-v4-c4123d8b3f904b19ae785a7c5ef41fc9.jar <span style='color:#111;'> 227.16KB </span>","children":null,"spread":false}],"spread":false},{"title":"jarlist.cache <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"crunch","children":[{"title":"drawable-hdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.88KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 3.03KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 17.44KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 9.06KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"STR Client.apk <span style='color:#111;'> 315.97KB </span>","children":null,"spread":false},{"title":"classes.dex <span style='color:#111;'> 684.43KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"说明.htm <span style='color:#111;'> 4.22KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明