├── settings.gradle ├── .gitmodules ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── ArcFaceDemo-master ├── src │ └── main │ │ ├── res │ │ ├── values │ │ │ ├── strings.xml │ │ │ └── colors.xml │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ ├── mipmap-xxxhdpi │ │ │ └── ic_launcher.png │ │ └── layout │ │ │ ├── dialog_register.xml │ │ │ ├── item_sample.xml │ │ │ ├── activity_register.xml │ │ │ ├── main_test.xml │ │ │ └── activity_camera.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── arcsoft │ │ └── sdk_demo │ │ ├── Application.java │ │ ├── PermissionAcitivity.java │ │ ├── FaceDB.java │ │ ├── MainActivity.java │ │ ├── DetecterActivity.java │ │ └── RegisterActivity.java ├── proguard-rules.pro ├── build.gradle └── .gitignore ├── gradle.properties ├── README.md ├── gradlew.bat └── gradlew /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':ArcFaceDemo-master' 2 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "android-extend"] 2 | path = android-extend 3 | url = git://github.com/gqjjqg/android-extend.git 4 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asdfqwrasdf/ArcFaceDemo/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | *.idea 5 | .DS_Store 6 | /build 7 | /captures 8 | .externalNativeBuild 9 | -------------------------------------------------------------------------------- /ArcFaceDemo-master/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | sdk_demo 3 | 4 | -------------------------------------------------------------------------------- /ArcFaceDemo-master/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asdfqwrasdf/ArcFaceDemo/HEAD/ArcFaceDemo-master/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /ArcFaceDemo-master/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asdfqwrasdf/ArcFaceDemo/HEAD/ArcFaceDemo-master/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /ArcFaceDemo-master/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asdfqwrasdf/ArcFaceDemo/HEAD/ArcFaceDemo-master/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ArcFaceDemo-master/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asdfqwrasdf/ArcFaceDemo/HEAD/ArcFaceDemo-master/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ArcFaceDemo-master/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/asdfqwrasdf/ArcFaceDemo/HEAD/ArcFaceDemo-master/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /ArcFaceDemo-master/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #ff4081 6 | 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Oct 25 14:51:57 CST 2018 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip 7 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /ArcFaceDemo-master/src/main/res/layout/dialog_register.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | 22 | -------------------------------------------------------------------------------- /ArcFaceDemo-master/src/main/res/layout/item_sample.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 14 | 15 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /ArcFaceDemo-master/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in D:\android\android_sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Uncomment this to preserve the line number information for 20 | # debugging stack traces. 21 | #-keepattributes SourceFile,LineNumberTable 22 | 23 | # If you keep the line number information, uncomment this to 24 | # hide the original source file name. 25 | #-renamesourcefileattribute SourceFile 26 | -------------------------------------------------------------------------------- /ArcFaceDemo-master/src/main/res/layout/activity_register.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 14 | 15 | 24 | 25 | -------------------------------------------------------------------------------- /ArcFaceDemo-master/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 24 5 | buildToolsVersion '28.0.3' 6 | defaultConfig { 7 | applicationId "com.arcsoft.sdk_demo" 8 | minSdkVersion 21 9 | targetSdkVersion 24 10 | versionCode 1 11 | versionName "1.1" 12 | sourceSets.main { 13 | jniLibs.srcDirs = ['libs'] 14 | } 15 | } 16 | buildTypes { 17 | release { 18 | minifyEnabled false 19 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 20 | } 21 | } 22 | } 23 | 24 | dependencies { 25 | implementation fileTree(include: ['*.jar'], dir: 'libs') 26 | implementation files('libs/facedetection.jar') 27 | implementation files('libs/facerecognition.jar') 28 | implementation files('libs/facetracking.jar') 29 | implementation files('libs/ageestimation.jar') 30 | implementation files('libs/genderestimation.jar') 31 | implementation 'com.guo.android_extend:android-extend:1.0.6' 32 | } 33 | -------------------------------------------------------------------------------- /ArcFaceDemo-master/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /ArcFaceDemo-master/src/main/res/layout/main_test.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 12 | 13 | 18 |