更新opencv到4.5.1 未完成

This commit is contained in:
TonyJiangWJ 2021-01-06 16:05:33 +08:00
parent b7ecd76819
commit 5363a8877f
10 changed files with 8 additions and 6 deletions

View File

@ -46,7 +46,7 @@ android {
]
}
}
ndk { }
ndk {}
}
buildTypes {
debug {
@ -62,7 +62,7 @@ android {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
applicationIdSuffix ".modify"
applicationIdSuffix ".modify.opencv4"
}
}
compileOptions {
@ -110,6 +110,11 @@ android {
buildConfigField "String", "CHANNEL", '"coolapk"'
}
}
externalNativeBuild {
cmake {
arguments "-DANDROID_STL=c++_shared"
}
}
// TensorFlow
// aaptOptions {
// noCompress "tflite"
@ -117,8 +122,6 @@ android {
}
repositories {
flatDir {
dirs 'libs'

Binary file not shown.

BIN
app/libs/opencv-4.5.1.aar Normal file

Binary file not shown.

View File

@ -55,8 +55,7 @@ dependencies {
api 'com.github.hyb1996:EnhancedFloaty:0.31'
api 'com.makeramen:roundedimageview:2.3.0'
// OpenCv
// api(name: 'opencv-3.4.13', ext: 'aar')
api files('libs/opencv-3.4.13.aar')
api files('libs/opencv-4.5.1.aar')
// OkHttp
api 'com.squareup.okhttp3:okhttp:3.10.0'
// JDeferred

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
inrt/libs/opencv-4.5.1.aar Normal file

Binary file not shown.