-
Notifications
You must be signed in to change notification settings - Fork 250
Expand file tree
/
Copy pathbuild.gradle
More file actions
77 lines (62 loc) · 2.38 KB
/
build.gradle
File metadata and controls
77 lines (62 loc) · 2.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
group 'com.huawei.hms.flutter.mlbody'
version '1.0'
buildscript {
repositories {
google()
mavenCentral()
maven { url 'https://developer.huawei.com/repo/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.0'
}
}
rootProject.allprojects {
repositories {
google()
mavenCentral()
maven { url 'https://developer.huawei.com/repo/' }
}
}
apply plugin: 'com.android.library'
android {
compileSdkVersion 31
buildToolsVersion "31.0.0"
if (project.android.hasProperty("namespace")) {
namespace 'com.huawei.hms.flutter.mlbody'
}
defaultConfig {
minSdkVersion 19
targetSdkVersion 31
}
lintOptions {
disable 'InvalidPackage'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
// Face Detection
implementation 'com.huawei.hms:ml-computer-vision-face:3.11.0.301'
implementation 'com.huawei.hms:ml-computer-vision-face-shape-point-model:3.7.0.301'
implementation 'com.huawei.hms:ml-computer-vision-face-emotion-model:3.7.0.301'
implementation 'com.huawei.hms:ml-computer-vision-face-feature-model:3.7.0.301'
implementation 'com.huawei.hms:ml-computer-vision-face-3d-model:3.7.0.301'
// Skeleton Detection
implementation 'com.huawei.hms:ml-computer-vision-base:3.11.0.301' // for lens engine
implementation 'com.huawei.hms:ml-computer-vision-skeleton:3.11.0.301'
implementation 'com.huawei.hms:ml-computer-vision-skeleton-model:3.11.0.301'
implementation 'com.huawei.hms:ml-computer-vision-yoga-model:3.11.0.301'
// Static Biometric Verification
implementation 'com.huawei.hms:ml-computer-vision-livenessdetection:3.11.0.301'
// Interactive Biometric Verification
implementation 'com.huawei.hms:ml-computer-vision-interactive-livenessdetection:3.12.0.300'
// Hand Gesture Recognition
implementation 'com.huawei.hms:ml-computer-vision-handkeypoint:3.11.0.301'
implementation 'com.huawei.hms:ml-computer-vision-handkeypoint-model:3.7.0.301'
implementation 'com.huawei.hms:ml-computer-vision-gesture-model:3.7.0.301'
// Face Verification
implementation 'com.huawei.hms:ml-computer-vision-faceverify:3.11.0.302'
implementation 'com.huawei.hms:ml-computer-vision-faceverify-model:3.11.0.302'
}