Last active
May 16, 2020 09:17
-
-
Save kongkip/118a13f8437d8f4cbc068e99915034ab to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// set no compress for tflite | |
compileOptions { | |
sourceCompatibility JavaVersion.VERSION_1_8 | |
targetCompatibility JavaVersion.VERSION_1_8 | |
} | |
android { | |
aaptOptions { | |
noCompress "tflite" | |
} | |
} | |
dependencies { | |
// TensorFlow Lite dependency | |
implementation "org.tensorflow:tensorflow-lite:2.1.0" | |
// Support library with image processing | |
implementation('org.tensorflow:tensorflow-lite-support:0.0.0-nightly') | |
{ changing = true } | |
// Configure CameraX | |
def camerax_version = '1.0.0-alpha06' | |
implementation "androidx.camera:camera-core:${camerax_version}" | |
implementation "androidx.camera:camera-camera2:${camerax_version}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment