leedaga / cleanup.pictures

清楚画中物品 Code for https://cleanup.pictures

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

preview

This is the code repository for CleanUp.pictures, a free web application that lets you quickly cleanup or remove objects in any image.

CleanUp.pictures consists in 3 main blocks:

Setup

  1. Function: cd functions && npm i
  2. Frontend: yarn

Then edit the .env file to match your firebase & backend settings.

Development

  1. Function: cd functions && npm run serve
  2. Frontend: yarn dev

Deployment

  1. Function: firebase deploy --only functions
  2. Frontend: yarn build && firebase deploy --only hosting

Acknowledgements

CleanUp.pictures wouldn't be possible without LaMa: Resolution-robust Large Mask Inpainting with Fourier Convolutions by Samsung Research.

About

清楚画中物品 Code for https://cleanup.pictures

License:Apache License 2.0


Languages

Language:TypeScript 92.8%Language:HTML 4.8%Language:JavaScript 1.2%Language:CSS 1.0%Language:Shell 0.2%