wzb96 / idcardrecognition Goto Github PK
View Code? Open in Web Editor NEW基于Tesseract的身份证识别
基于Tesseract的身份证识别
Process: com.example.binbin.photo, PID: 5098
java.lang.IllegalArgumentException: Data path must contain subfolder tessdata!
at com.googlecode.tesseract.android.TessBaseAPI.init(TessBaseAPI.java:167)
at com.example.binbin.photo.ResultActivity.doOcr(ResultActivity.java:122)
at com.example.binbin.photo.ResultActivity$2.run(ResultActivity.java:80)
at java.lang.Thread.run(Thread.java:818)
fail to connect to camera service
怎么解决这个错误啊 没找到答案
求楼主 帮忙解答一下 谢谢
我用6.0手机,自己开启了权限之后,运行到这步说报错
java.lang.RuntimeException: setParameters failed
at android.hardware.Camera.native_setParameters(Native Method)
at android.hardware.Camera.setParameters(Camera.java:2211)
at com.example.binbin.photo.MainActivity$MySurfaceCallback.surfaceCreated(MainActivity.java:123)
正打算研究这块的东西
你截取tmd是写死四个坐标截取?搞怪?那别人拍身份证的时候稍微动一下怎么办?
大神,训练好的字库可否发给 下载地址? 谢谢大神
你好,大神!我最近也在做身份证识别,能不能把你做身份证识别时训练好的字库发我一份。 [email protected] 跪谢。
AndroidRuntime: java.lang.IncompatibleClassChangeError: Class android.support.v4.app.FragmentActivity$2 implements non-interface class android.support.v4.app.FragmentContainer (declaration of 'android.support.v4.app.FragmentActivity$2' appears in
E/AndroidRuntime: FATAL EXCEPTION: Thread-1829
Process: com.example.binbin.photo, PID: 17533
java.lang.IllegalArgumentException: Data path must contain subfolder tessdata! at com.googlecode.tesseract.android.TessBaseAPI.init(TessBaseAPI.java:167) at com.example.binbin.photo.ResultActivit.doOcr(ResultActivit.java:122) at com.example.binbin.photo.ResultActivit$2.run(ResultActivit.java:80)
E/WindowManager: android.view.WindowLeaked: Activity com.example.binbin.photo.ResultActivit has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView{4bb13030 V.E..... R.....ID 0,0-1026,288} that was originally added here
at android.view.ViewRootImpl.(ViewRootImpl.java:381)
at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:258)
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:69)
at android.app.Dialog.show(Dialog.java:323)
at com.example.binbin.photo.ResultActivit.onCreate(ResultActivit.java:70)
...
FAILURE: Build failed with an exception.
java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
环境:
AndroidStudio 3.0.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.