/AvatarStickers

Animated stickers for Telegram and WhatsApp based on face features using AI | iOS application

Primary LanguageSwiftGNU General Public License v3.0GPL-3.0

About

Avatar Stickers - iOS application that allows you to create an animated stickers and export them to Telegram and WhatsApp messengers. The application was created while participating in the contest. Server code is available here.

Features

  • Generate animated stickers
  • In-app stickers preview
  • Export to Telegram and WhatsApp
  • Sync sticker collections with iCloud
  • Share raw files (Lottie, TGS and WebP)
  • Available without network connection (Except the export)

Screenshots

Version Gallery Recognition Selection Intro Settings Launch
1.0
2.0
Video GalleryView Record RecognitionView Record SelectionView Record IntroView Record

Stack

  • SwiftUI
  • Combine
  • Core Data
  • Core ML
  • Swift Package Manager
  • Fastlane

Build

Clone the project and open it in Xcode. Xcode will download Swift Packages automatically. You will need to provide an iCloud identifier in TGStickersImport.entitlements for Core Data cloud synchronization.

Schemes

  • Debug - Mocked animations and network requests (no server)
  • Local - Requests in local network. Used in pair with local server
  • Release - App Store

Xcode Previews

With power of SwiftUI the previews works as expected including mocked animations and Core Data.

Xcode IntroView Xcode ContentView
Xcode RecognitionView Xcode GalleryView

Core ML

Most of the ML models were created using CreateML and public datasets. 10K images used per class which can also be improved.

TODO

  • Server API Key Security (using Configuration file)
  • Export to different Telegram apps (non-official)
  • Accessibility

App Store

  • Application main features was released during Telegram contest from June 25 to July 4.

  • The application was published in App Store in August 2021 (after two weeks review).

  • In Semptember new updates were blocked due the Guideline 4.3 - Design

    Same feature set as other apps submitted to the App Store

  • In November Telegram paid 750$ for the 3rd place in the Sticker App Contest.

  • In January 2022 I've decided to Open Source it.

The application is still in App Store and available for free but will not receive any updates because of the App Store vague rules.

Licenses