File tree Expand file tree Collapse file tree 1 file changed +61
-2
lines changed Expand file tree Collapse file tree 1 file changed +61
-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 {
35
- namespace ' com.vladih.computer_vision.flutter_vision'
36
63
compileSdkVersion 31
37
64
65
+
66
+
67
+ namespace ' com.vladih.computer_vision.flutter_vision'
68
+
69
+
38
70
compileOptions {
71
+
39
72
sourceCompatibility JavaVersion . VERSION_1_8
73
+
40
74
targetCompatibility JavaVersion . VERSION_1_8
75
+
41
76
}
42
77
78
+
43
79
defaultConfig {
80
+
44
81
minSdkVersion 21
82
+
45
83
}
84
+
46
85
aaptOptions {
86
+
47
87
noCompress ' tflite'
88
+
48
89
noCompress ' lite'
90
+
49
91
}
50
92
93
+
51
94
buildFeatures{
95
+
52
96
mlModelBinding true
97
+
53
98
}
99
+
54
100
}
101
+
102
+
55
103
dependencies {
104
+
56
105
// implementation (files('libs/tesseract4android-release.aar'))
106
+
57
107
api(name :" tesseract4android-release" , ext : " aar" )
108
+
58
109
implementation ' com.github.vladiH:opencv-android:v1.0.0'
110
+
59
111
implementation ' org.tensorflow:tensorflow-lite:2.10.0'
112
+
60
113
implementation ' org.tensorflow:tensorflow-lite-api:2.10.0'
114
+
61
115
implementation ' org.tensorflow:tensorflow-lite-gpu:2.10.0'
116
+
62
117
implementation ' org.tensorflow:tensorflow-lite-gpu-api:2.10.0'
118
+
63
119
implementation ' org.tensorflow:tensorflow-lite-gpu-delegate-plugin:0.4.3'
120
+
64
121
implementation ' org.tensorflow:tensorflow-lite-support:0.4.3'
122
+
65
123
implementation ' org.tensorflow:tensorflow-lite-metadata:0.4.3'
124
+
66
125
implementation ' org.tensorflow:tensorflow-lite-select-tf-ops:2.11.0'
67
126
}
You can’t perform that action at this time.
0 commit comments