Android sdk and demo for IdCard.
- Add the JitPack repository to your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
- Add the dependency
dependencies {
compile 'com.github.FacePlusPlus:MegviiIDCard-Android:0.3.0'
}
- Go to the official website register an account
- Apply key and secret from here, create a file named "key" in assets directory, paste key and secret in format like key;secret
- Bund your bundle id from here
- Download sdk from here, find the model that named with megviiidcard_0_3_0_model and put it in raw directory
- Run demo or your app.