-
Notifications
You must be signed in to change notification settings - Fork 247
Expand file tree
/
Copy pathbuild.gradle
More file actions
130 lines (122 loc) · 5.62 KB
/
build.gradle
File metadata and controls
130 lines (122 loc) · 5.62 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
group 'com.huawei.hms.flutter.ml'
version '1.0'
buildscript {
repositories {
google()
jcenter()
maven { url 'https://developer.huawei.com/repo/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.0'
}
}
rootProject.allprojects {
repositories {
google()
jcenter()
maven { url 'https://developer.huawei.com/repo/' }
}
}
apply plugin: 'com.android.library'
android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
if (project.android.hasProperty("namespace")) {
namespace 'com.huawei.hms.flutter.ml'
}
defaultConfig {
minSdkVersion 19
targetSdkVersion 29
vectorDrawables.useSupportLibrary = true
}
lintOptions {
disable 'InvalidPackage'
}
compileOptions {
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
// text recognition
implementation 'com.huawei.hms:ml-computer-vision-ocr:2.0.5.300'
implementation 'com.huawei.hms:ml-computer-vision-ocr-latin-model:2.0.5.300'
implementation 'com.huawei.hms:ml-computer-vision-ocr-jk-model:2.0.5.300'
implementation 'com.huawei.hms:ml-computer-vision-ocr-cn-model:2.0.5.300'
// vision cloud
implementation 'com.huawei.hms:ml-computer-vision-cloud:2.0.5.300'
// bankcard recognition
implementation 'com.huawei.hms:ml-computer-card-bcr:2.0.3.301'
// general card recognition
implementation 'com.huawei.hms:ml-computer-card-gcr-plugin:2.0.1.301'
// translate
implementation 'com.huawei.hms:ml-computer-translate:2.0.5.300'
implementation 'com.huawei.hms:ml-computer-translate-model:2.0.5.300'
// language detection
implementation 'com.huawei.hms:ml-computer-language-detection:2.0.5.300'
implementation 'com.huawei.hms:ml-computer-language-detection-model:2.0.5.300'
// asr
implementation 'com.huawei.hms:ml-computer-voice-asr-plugin:2.0.5.300'
// text to speech
implementation 'com.huawei.hms:ml-computer-voice-tts:2.0.5.300'
implementation 'com.huawei.hms:ml-computer-voice-tts-model-bee:2.0.5.300'
implementation 'com.huawei.hms:ml-computer-voice-tts-model-eagle:2.0.5.300'
// aft
implementation 'com.huawei.hms:ml-computer-voice-aft:2.0.5.300'
// classification
implementation 'com.huawei.hms:ml-computer-vision-classification:2.0.1.300'
implementation 'com.huawei.hms:ml-computer-vision-image-classification-model:2.0.1.300'
// object
implementation 'com.huawei.hms:ml-computer-vision-object:2.0.3.300'
implementation 'com.huawei.hms:ml-computer-vision-object-detection-model:2.0.3.300'
// face detection
implementation 'com.huawei.hms:ml-computer-vision-face:2.0.5.300'
implementation 'com.huawei.hms:ml-computer-vision-face-shape-point-model:2.0.5.300'
implementation 'com.huawei.hms:ml-computer-vision-face-emotion-model:2.0.5.300'
implementation 'com.huawei.hms:ml-computer-vision-face-feature-model:2.0.5.300'
implementation 'com.huawei.hms:ml-computer-vision-face-3d-model:2.0.5.300'
// segmentation
implementation 'com.huawei.hms:ml-computer-vision-segmentation:2.0.4.300'
implementation 'com.huawei.hms:ml-computer-vision-image-segmentation-multiclass-model:2.0.4.300'
implementation 'com.huawei.hms:ml-computer-vision-image-segmentation-body-model:2.0.4.300'
// skeleton detection
implementation 'com.huawei.hms:ml-computer-vision-skeleton:2.0.4.300'
implementation 'com.huawei.hms:ml-computer-vision-skeleton-model:2.0.4.300'
implementation 'com.huawei.hms:ml-computer-vision-yoga-model:2.0.4.300'
// image super resolution
implementation 'com.huawei.hms:ml-computer-vision-imagesuperresolution:2.0.4.300'
implementation 'com.huawei.hms:ml-computer-vision-imagesuperresolution-model:2.0.4.300'
// document skew correction
implementation 'com.huawei.hms:ml-computer-vision-documentskew:2.0.4.300'
implementation 'com.huawei.hms:ml-computer-vision-documentskew-model:2.0.4.300'
// hand keypoint detection
implementation 'com.huawei.hms:ml-computer-vision-handkeypoint:2.0.4.300'
implementation 'com.huawei.hms:ml-computer-vision-handkeypoint-model:2.0.4.300'
// liveness detection
implementation 'com.huawei.hms:ml-computer-vision-livenessdetection:2.0.5.300'
// custom model
implementation 'com.huawei.hms:ml-computer-model-executor:2.0.5.300'
implementation 'mindspore:mindspore-lite:5.0.4.300'
// scene detection
implementation 'com.huawei.hms:ml-computer-vision-scenedetection:2.0.3.300'
implementation 'com.huawei.hms:ml-computer-vision-scenedetection-model:2.0.3.300'
// text image super resolution
implementation 'com.huawei.hms:ml-computer-vision-textimagesuperresolution:2.0.4.300'
implementation 'com.huawei.hms:ml-computer-vision-textimagesuperresolution-model:2.0.4.300'
// real time transcription
implementation "com.huawei.hms:ml-computer-voice-realtimetranscription:2.0.5.300"
// text embedding
implementation 'com.huawei.hms:ml-nlp-textembedding:2.0.4.300'
// sound detection
implementation 'com.huawei.hms:ml-speech-semantics-sounddect-sdk:2.0.3.300'
implementation 'com.huawei.hms:ml-speech-semantics-sounddect-model:2.0.3.300'
// form recognition
implementation 'com.huawei.hms:ml-computer-vision-formrecognition:2.0.4.300'
implementation 'com.huawei.hms:ml-computer-vision-formrecognition-model:2.0.4.300'
// product
implementation 'com.huawei.hms:ml-product-visual-search-plugin:2.0.3.300'
// fresco
implementation "com.facebook.fresco:fresco:2.2.0"
//gson
implementation 'com.google.code.gson:gson:2.8.5'
}