Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
app
images
.gitignore
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

Creating Stickers with Pet Segmentation

Codeship Status for fritzlabs/fritz-sdk-android Twitter

In this app, the user can automatically create a sticker of their pet and save it in their camera roll.

This example app uses the on-device Pet Segmentation API for Android.

Fritz AI

Fritz AI is the machine learning platform for iOS and Android developers. Teach your mobile apps to see, hear, sense, and think. Start with our ready-to-use feature APIs or connect and deploy your own custom models.

Requirements

  • Android Studio 3.2 or above
  • Android device in developer model (USB debugging enabled)

Getting Started

Step 1: Create a Fritz AI Account

Sign up for a free account on Fritz AI in order to get started.

Step 2: Clone / Fork the fritz-examples repository and open the BackgroundReplacementApp app in Android Studio

git clone https://github.com/fritzlabs/fritz-examples.git

In Android Studio, choose "Open an existing Android Studio project" and select PetStickerApp.

Step 3: Build the Android Studio Project

Select "Build > Make Project" from the top nav. Download any missing libraries if applicable. This should sync the gradle dependencies so give the build a second to complete.

Step 4: Install the app onto your device

With your Android device connected, select Run > Run App from the top nav. When running the app for the first time, you'll have to give permissions to access the camera. After the app is installed and running, take a picture of a pet and you'll see a preview of the sticker. You can then save the sticker to your photo gallery.

Official Documentation

SDK Documentation

Android API Docs

Join the community

Heartbeat is a community of developers interested in the intersection of mobile and machine learning. Chat with us in Slack and stay up to date on the latest mobile ML news with our Newsletter.

Help

For any questions or issues, you can:

  • Submit an issue on this repo
  • Go to our Help Center
  • Message us directly in Slack
You can’t perform that action at this time.