Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. apply plugin: 'com.android.application'
  2.  
  3. android {
  4. compileSdkVersion 28
  5. defaultConfig {
  6. applicationId "samples.opencv.org"
  7. minSdkVersion 21
  8. targetSdkVersion 28
  9. versionCode 1
  10. versionName "1.0"
  11. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  12. }
  13. buildTypes {
  14. release {
  15. minifyEnabled true
  16. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  17. }
  18. }
  19. aaptOptions{
  20. noCompress "tflite"
  21. }
  22. compileOptions {
  23. targetCompatibility = '1.8'
  24. sourceCompatibility = '1.8'
  25. }
  26. }
  27.  
  28. dependencies {
  29. implementation fileTree(dir: 'libs', include: ['*.jar'])
  30. implementation 'com.android.support:appcompat-v7:28.0.0'
  31. implementation 'com.android.support.constraint:constraint-layout:1.1.3'
  32. testImplementation 'junit:junit:4.12'
  33. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  34. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  35. implementation project(path: ':opencv4')
  36. implementation 'org.tensorflow:tensorflow-lite:0.0.0-nightly'
  37. implementation 'org.tensorflow:tensorflow-lite-gpu:0.0.0-nightly'
  38.  
  39. implementation 'org.apache.commons:commons-math3:3.6.1'
  40.  
  41. /*
  42. compile 'org.jcodec:jcodec:0.2.3'
  43. compile 'org.jcodec:jcodec-android:0.2.3'
  44. */
  45.  
  46. //implementation 'com.arthenica:mobile-ffmpeg-full:4.2.1'
  47.  
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement