Skip to content

A implementation of Google ML Subject Segmentation Kit to Flutter App through method channel.

Notifications You must be signed in to change notification settings

tanvir-robin/Google-ML-Subject-Segmentation-Flutter

Repository files navigation

Flutter - Subject Segementer

Google ML Kit Implementation in Flutter using MethodChannel

hero.png flutter5786-removebg-preview (1).png

Subject Segmentation is a ML model for Android provided by Google Machine Learning.There is not direct support to flutter of that kit. Here in this project, I have used flutter method channel to implement this.

  • Pick any Image you want.
  • Press on "Process Image" button.
  • ✨Magic ✨

Features

  • Supports JPG, JPEG, PNG, WEBP

Tech

  • Flutter & Dart
  • Google ML Kit
  • Platform Specific Code (Java)
  • Image conversion

Installation

This project requires Flutter SDK to run.

Clone the repo to your local machine

cd <Your Desired Directory>
gh repo clone tanvir-robin/Google-ML-Subject-Segmentation-Flutter

Load the dependencies

flutter pub get all

The project must be run on a real device to work on. This plugin doesn't support running on emulators. Connect your real device via USB cable and choose it on device panel

Run the project

flutter run

Development

Want to contribute? Great! Feel free to fork and create pull request.

Glimps

Glimps

Read More