-
Notifications
You must be signed in to change notification settings - Fork 250
Expand file tree
/
Copy pathbuild.gradle
More file actions
93 lines (73 loc) · 2.96 KB
/
build.gradle
File metadata and controls
93 lines (73 loc) · 2.96 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
group 'com.huawei.hms.flutter.mlimage'
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.mlimage'
}
defaultConfig {
minSdkVersion 19
targetSdkVersion 31
vectorDrawables.useSupportLibrary = true
}
lintOptions {
disable 'InvalidPackage'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
// Image Classification
implementation 'com.huawei.hms:ml-computer-vision-classification:3.7.0.301'
implementation 'com.huawei.hms:ml-computer-vision-image-classification-model:3.7.0.301'
// Object Detection and Tracking
implementation 'com.huawei.hms:ml-computer-vision-object:3.11.0.301'
implementation 'com.huawei.hms:ml-computer-vision-object-detection-model:3.7.0.301'
// Landmark Detection
implementation 'com.huawei.hms:ml-computer-vision-cloud:3.11.0.301'
// Image Segmentation
implementation 'com.huawei.hms:ml-computer-vision-segmentation:3.7.0.302'
implementation 'com.huawei.hms:ml-computer-vision-image-segmentation-multiclass-model:3.7.0.302'
implementation 'com.huawei.hms:ml-computer-vision-image-segmentation-body-model:3.7.0.302'
implementation 'com.huawei.hms:ml-computer-vision-image-segmentation-hair-model:3.7.0.302'
// Product Visual Search
implementation 'com.huawei.hms:ml-product-visual-search-plugin:3.11.0.301'
// Image Super-Resolution
implementation 'com.huawei.hms:ml-computer-vision-imagesuperresolution:3.11.0.301'
implementation 'com.huawei.hms:ml-computer-vision-imagesuperresolution-model:3.11.0.301'
// Document Skew Correction
implementation 'com.huawei.hms:ml-computer-vision-documentskew:3.11.0.301'
implementation 'com.huawei.hms:ml-computer-vision-documentskew-model:3.7.0.301'
// Text Image Super-Resolution
implementation 'com.huawei.hms:ml-computer-vision-textimagesuperresolution:3.11.0.303'
implementation 'com.huawei.hms:ml-computer-vision-textimagesuperresolution-model:3.11.0.303'
// Scene Detection
implementation 'com.huawei.hms:ml-computer-vision-scenedetection:3.11.0.302'
implementation 'com.huawei.hms:ml-computer-vision-scenedetection-model:3.11.0.302'
// Custom Model
implementation 'com.huawei.hms:ml-computer-model-executor:3.11.0.301'
implementation 'mindspore:mindspore-lite:5.0.5.300'
// Fresco
implementation "com.facebook.fresco:fresco:2.6.0"
}