Die Android-App dient als Navigation eines mobilen Roboters mittels Machine Learning im Rahmen einer Masterarbeit.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.gradle 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. apply plugin: 'com.android.library'
  2. android {
  3. compileSdkVersion 31
  4. buildToolsVersion "30.0.2"
  5. defaultConfig {
  6. minSdkVersion 21
  7. targetSdkVersion 30
  8. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  9. }
  10. buildTypes {
  11. release {
  12. minifyEnabled false
  13. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  14. }
  15. }
  16. lintOptions {
  17. checkReleaseBuilds false
  18. // Or, if you prefer, you can continue to check for errors in release
  19. // builds, but continue the build even when errors are found.
  20. abortOnError false
  21. }
  22. compileOptions {
  23. sourceCompatibility 1.8
  24. targetCompatibility 1.8
  25. }
  26. androidResources {
  27. noCompress 'tflite'
  28. }
  29. }
  30. dependencies {
  31. implementation fileTree(dir: 'libs', include: ['*.jar'])
  32. implementation 'androidx.appcompat:appcompat:1.4.0'
  33. // Build off of nightly TensorFlow Lite
  34. implementation 'org.tensorflow:tensorflow-lite:2.7.0'
  35. //implementation('org.tensorflow:tensorflow-lite:0.0.0-nightly') //for Pydnet
  36. //implementation('org.tensorflow:tensorflow-lite-gpu:0.0.0-nightly') //for Pydnet
  37. implementation 'org.tensorflow:tensorflow-lite-metadata:0.3.1'
  38. //implementation 'org.tensorflow:tensorflow-lite-metadata:0.1.0'
  39. implementation 'org.tensorflow:tensorflow-lite-gpu:2.7.0'
  40. implementation 'org.tensorflow:tensorflow-lite-support:0.3.1'
  41. }