Skip to content

Latest commit

 

History

History
25 lines (24 loc) · 916 Bytes

README.md

File metadata and controls

25 lines (24 loc) · 916 Bytes

MegviiIDCard-Android

Android sdk and demo for IdCard.

How to use

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