Skip to content

whiteio/LaMa-Eraser-iOS

Repository files navigation

LaMa-Eraser-iOS

An image inpainting app made with SwiftUI.

Before After Full Example
new-example

Video example here

Prerequisites

LaMa-cleaner backend server needs to be running locally for this to work To set this up:

  1. Clone https://github.com/whiteio/lama-zits
  2. cd into lama-zits and install required dependencies:
pip install -r requirements.txt
  1. Run the flask server
python predict.py

Environment

  • iOS 17
  • Xcode 15

Port 5000 is used for the flask server.

Steps

  1. Select an image from the photo library
  2. Draw masks on the image to perform inpainting
  3. Once the image processing has finished, the new image is displayed
  4. Rinse and repeat steps 2 and 3 to improve the result if needed

About

An iOS image processing app written in SwiftUI which uses a LaMa ML model to perform image inpainting

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages