Skip to content

Files

Latest commit

 

History

History
35 lines (26 loc) · 1.19 KB

README.md

File metadata and controls

35 lines (26 loc) · 1.19 KB

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 (Simulator)
  • 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