CartoonGan for iOS with TensorFlow Lite

The CartoonGan model can be found in tfhub and was developed by Sayak Paul. In this repo we build an iOS application to perform the cartoonization with an iPhone.

https://www.dropbox.com/s/7x3obx9egks13qi/video-demo-image.MP4?dl=0

Objectives

Dall-E Open AI

TensorFlow Lite Swift API

Other

App

The app is built with UIKit using programmatic components only. The class CartoonGanModel contains the logic to perform inference, pre/post processing and error handling for all of these cases.

To get the app started

  • run pod install to install the dependencies.