File tree Expand file tree Collapse file tree 1 file changed +64
-2
lines changed Expand file tree Collapse file tree 1 file changed +64
-2
lines changed Original file line number Diff line number Diff line change 1
- group ' com.vladih.computer_vision.flutter_vision'
1
+ group ' com.vladih.computer_vision.flutter_vision'
2
+
2
3
version ' 1.0'
3
4
5
+
4
6
buildscript {
7
+
5
8
repositories {
9
+
6
10
google()
11
+
7
12
mavenCentral()
13
+
8
14
}
9
15
16
+
10
17
dependencies {
18
+
11
19
classpath ' com.android.tools.build:gradle:7.1.2'
20
+
12
21
}
22
+
13
23
}
14
24
25
+
15
26
rootProject. allprojects {
27
+
16
28
repositories {
29
+
17
30
google()
31
+
18
32
mavenCentral()
33
+
19
34
flatDir{
35
+
20
36
dirs project(" :flutter_vision" ). file(" libs" )
37
+
21
38
}
39
+
22
40
maven {
41
+
23
42
url ' https://jitpack.io'
43
+
24
44
}
45
+
25
46
maven{
47
+
26
48
name ' ossrh-snapshot'
49
+
27
50
url ' https://oss.sonatype.org/content/repositories/snapshots'
51
+
28
52
}
53
+
29
54
}
55
+
30
56
}
31
57
58
+
32
59
apply plugin : ' com.android.library'
33
60
61
+
34
62
android {
63
+
35
64
compileSdkVersion 31
36
65
66
+
67
+
68
+ namespace ' com.vladih.computer_vision.flutter_vision'
69
+
70
+
37
71
compileOptions {
72
+
38
73
sourceCompatibility JavaVersion . VERSION_1_8
74
+
39
75
targetCompatibility JavaVersion . VERSION_1_8
76
+
40
77
}
41
78
79
+
42
80
defaultConfig {
81
+
43
82
minSdkVersion 21
83
+
44
84
}
85
+
45
86
aaptOptions {
87
+
46
88
noCompress ' tflite'
89
+
47
90
noCompress ' lite'
91
+
48
92
}
49
93
94
+
50
95
buildFeatures{
96
+
51
97
mlModelBinding true
98
+
52
99
}
100
+
53
101
}
102
+
103
+
54
104
dependencies {
105
+
55
106
// implementation (files('libs/tesseract4android-release.aar'))
107
+
56
108
api(name :" tesseract4android-release" , ext : " aar" )
109
+
57
110
implementation ' com.github.vladiH:opencv-android:v1.0.0'
111
+
58
112
implementation ' org.tensorflow:tensorflow-lite:2.10.0'
113
+
59
114
implementation ' org.tensorflow:tensorflow-lite-api:2.10.0'
115
+
60
116
implementation ' org.tensorflow:tensorflow-lite-gpu:2.10.0'
117
+
61
118
implementation ' org.tensorflow:tensorflow-lite-gpu-api:2.10.0'
119
+
62
120
implementation ' org.tensorflow:tensorflow-lite-gpu-delegate-plugin:0.4.3'
121
+
63
122
implementation ' org.tensorflow:tensorflow-lite-support:0.4.3'
123
+
64
124
implementation ' org.tensorflow:tensorflow-lite-metadata:0.4.3'
125
+
65
126
implementation ' org.tensorflow:tensorflow-lite-select-tf-ops:2.11.0'
66
- }
127
+
128
+ }
You can’t perform that action at this time.
0 commit comments