hearsilent/AndroidStickify

AndroidStickify is a clean, standalone Android application that allows users to pick an image, automatically extract the main subject using Google's ML Kit, apply a smooth "Bubble" white border (sticker effect), and save the result as a transparent PNG.

★ 3Forks 2KotlinGitHub ↗Compare
androidandroid-librarykotlinkotlin-libraryml-kit

README

AndroidStickify

AndroidStickify is a clean, standalone Android application that allows users to pick an image, automatically extract the main subject using Google's ML Kit, apply a smooth "Bubble" white border (sticker effect), and save the result as a transparent PNG.

Comparison

Original Image Stickify Result
Original photo Processed sticker with bubble border

Features

  • Subject Extraction: Powered by com.google.android.gms:play-services-mlkit-subject-segmentation for high-quality foreground detection.
  • Bubble Sticker Effect: Automatically generates a smooth, thick white border around extracted subjects to create a premium "sticker" look.
  • Modern UI:
    • Material 3 Design: Fully compliant with Material 3 guidelines.
    • Premium Dark Theme: Sleek dark interface with vibrant accent colors.
    • View Binding: Refactored for type-safe UI interaction and cleaner code.
    • Loading States: Includes the new M3 LoadingIndicator for real-time feedback during processing.
  • Easy Saving: Save your stickers directly to Pictures/Stickers with a single tap.

Tech Stack

  • Language: Kotlin
  • Architecture: Jetpack (Activity, View Binding, ViewModel scope conceptually via Coroutines)
  • ML Engine: Google ML Kit (Subject Segmentation API)
  • Concurrency: Kotlin Coroutines (Dispatchers.Default for heavy image processing)
  • UI Components: Material Components for Android (1.13.0+)
  • Build System: Kotlin DSL (AGP 9.1.0)

How to Use

  1. Launch the app and tap Pick Image.
  2. Select any photo from your gallery.
  3. Wait for the Loading Indicator to finish (ML Kit is working its magic!).
  4. Preview your generated sticker.
  5. Tap Save to store it as a transparent PNG in your gallery.

License

This project is licensed under the MIT License.

Contributors

hearsilent

Issues