Skip to content

Kepavel/sam-android

Repository files navigation

Segment Anything on Android

Welcome to the Segment Anything on Android project! This repository houses the Android application that leverages the powerful "Segment Anything" model to provide real-time object segmentation capabilities directly on your Android device. This Project is to make advanced segmentation technology accessible and usable for a wide range of applications, from augmented reality to privacy-focused photography.

Features

  • Real-Time Segmentation: Instantly segment objects in the camera feed with high accuracy.
  • Multiple Segmentation Models: Choose from a variety of pre-trained models based on your accuracy and performance needs.
  • Custom Model Support: Easily integrate your own trained models for personalized segmentation tasks.
  • User-Friendly Interface: Simple and intuitive UI for seamless user experience.
  • Open-Source: Modify and distribute the code according to your needs.

Installation

To get started with Segment Anything on Android, follow these steps:

  1. Download Sag models
  2. Clone this repository:
    git clone https://github.com/Kepavel/sam-android.git
  3. Open the project in Android Studio.
  4. Sync the project with Gradle files.
  5. Run the application on your Android device or emulator.

Usage

After installing the app, follow these steps to start segmenting objects:

  1. Launch the app on your Android device.
  2. Select the desired segmentation model from the settings menu.
  3. Point your camera at the object you want to segment.
  4. The segmented object will be highlighted in real-time on your screen.
  5. For advanced usage and integrating custom models, please refer to the Advanced Usage section.

Contributing

welcome contributions to the Segment Anything on Android project! If you have suggestions for improvements or bug fixes, please feel free to:

Acknowledgments

Thanks to the creators of the "Segment Anything" model for their groundbreaking work.

About

sam android based on ggml

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published