Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Erase icon

Erase

Paint over anything in a photo and it is gone. Photobombers, wires, trash, watermarks. Runs on your Mac.

Latest release Downloads macOS 14+ MIT license

Erase

TouchRetouch, Cleanup.pictures and the "magic eraser" features in subscription editors all run the same idea: an inpainting model fills the hole. Erase uses LaMa, the open model behind most of them, ported to Core ML and run on your GPU. No subscription, no upload, no watermark on the output.

Table of contents

Features

  • Paint and erase: brush over the object, press Erase, done in about a second
  • Full resolution: the fill is generated on a crop around your mask and pasted back, so a 40 MP photo stays 40 MP
  • Repeat as needed: erase several things in turn, undo any step, compare with Before
  • Reads JPEG, PNG, HEIC, TIFF, RAW previews; exports PNG or JPEG
  • Private: the model ships inside the app. No network at all

Install

Signed with a Developer ID and notarized by Apple, so it opens like any other Mac app.

Download Erase.zip from the latest release, unzip, move Erase.app to Applications.

Requires macOS 14 Sonoma or newer. Apple silicon recommended; the model runs on the GPU.

Usage

  1. Drop a photo on the window.
  2. Paint over what should disappear. Use a brush a little larger than the object, including its shadow.
  3. Press Erase (⌘↩). Paint again for the next thing. ⌘Z undoes.
  4. Export as PNG or JPEG.

FAQ

How big an object can it remove? LaMa is built for large masks. A person in a street scene works; half the picture does not.

Why do results look smeared sometimes? Complex textures behind the object (faces, text, patterns) are guesses. Erase a bit at a time and include shadows and reflections in the mask.

Why is the app 200 MB? That is the model. Everything else is 1 MB.

Build from source

git clone https://github.com/Dunebru/erase.git && cd erase
scripts/fetch-deps.sh     # downloads the LaMa Core ML model (216 MB)
swift test
scripts/build-app.sh      # dist/Erase.app and dist/Erase.zip

License

MIT © dunebru

Acknowledgements

About

Paint over anything in a photo and it is gone. LaMa inpainting on your Mac, no upload, no subscription.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages