Skip to content

Instantly share code, notes, and snippets.

@shubham0204
Created August 23, 2021 05:39
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
dependencies {
implementation 'androidx.core:core-ktx:1.6.0'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'com.google.android.material:material:1.4.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
// Other dependencies
// Add the selfie segmentation dependency
implementation 'com.google.mlkit:segmentation-selfie:16.0.0-beta2'
// CameraX dependencies
implementation "androidx.camera:camera-camera2:1.0.0"
implementation "androidx.camera:camera-lifecycle:1.0.0"
implementation "androidx.camera:camera-view:1.0.0-alpha26"
implementation "androidx.camera:camera-extensions:1.0.0-alpha26"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment