-
Notifications
You must be signed in to change notification settings - Fork 250
Expand file tree
/
Copy pathbuild.gradle
More file actions
74 lines (58 loc) · 1.91 KB
/
build.gradle
File metadata and controls
74 lines (58 loc) · 1.91 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
group 'com.huawei.hms.flutter.mltext'
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.mltext'
}
defaultConfig {
minSdkVersion 19
targetSdkVersion 31
}
lintOptions {
disable 'InvalidPackage'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies{
// Text Recognition
implementation 'com.huawei.hms:ml-computer-vision-ocr:3.11.0.301'
implementation 'com.huawei.hms:ml-computer-vision-ocr-latin-model:3.11.0.301'
implementation 'com.huawei.hms:ml-computer-vision-ocr-jk-model:3.11.0.301'
implementation 'com.huawei.hms:ml-computer-vision-ocr-cn-model:3.11.0.301'
// Document Recognition
implementation 'com.huawei.hms:ml-computer-vision-cloud:3.11.0.301'
// ID Card Recognition
implementation 'com.huawei.hms:ml-computer-card-icr-vn:3.7.0.303'
// Bank Card Recognition
implementation 'com.huawei.hms:ml-computer-card-bcr:3.7.0.302'
// General Card Recognition
implementation 'com.huawei.hms:ml-computer-card-gcr-plugin:3.11.0.301'
// Form Recognition
implementation 'com.huawei.hms:ml-computer-vision-formrecognition:3.11.0.301'
implementation 'com.huawei.hms:ml-computer-vision-formrecognition-model:3.7.0.301'
// Text Embedding
implementation 'com.huawei.hms:ml-nlp-textembedding:3.11.0.302'
}