Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loretoparisi/cleanup.pictures
Code for https://cleanup.pictures
https://github.com/loretoparisi/cleanup.pictures
Last synced: about 1 month ago
JSON representation
Code for https://cleanup.pictures
- Host: GitHub
- URL: https://github.com/loretoparisi/cleanup.pictures
- Owner: loretoparisi
- License: apache-2.0
- Created: 2021-10-20T10:14:13.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-20T09:05:11.000Z (almost 3 years ago)
- Last Synced: 2024-04-26T01:31:07.044Z (5 months ago)
- Size: 2.49 MB
- Stars: 41
- Watchers: 2
- Forks: 113
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [CleanUp.pictures](https://cleanup.pictures)
This is the code repository for [CleanUp.pictures](https://cleanup.pictures), a free web application that lets you quickly cleanup or remove objects in any image.
![preview](./docs/preview.jpg)
[CleanUp.pictures](https://cleanup.pictures) consists in 3 main blocks:
- A frontend built with [React](https://reactjs.org/) / [Typescript](https://www.typescriptlang.org/) / [TailwindCSS](https://tailwindcss.com/)
- A Nodejs Firebase function to proxy the fetch requests on a secure HTTPS endpoint with [AppCheck/reCAPTCHA v3](https://firebase.google.com/docs/app-check)
- An inpainting service running [LaMa](https://github.com/saic-mdal/lama) on GPU via [Cloud Run for Anthos](https://cloud.google.com/anthos/run)## Setup
1. Function: `cd functions && npm i`
2. Frontend: `yarn`Then edit the [.env](.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](https://github.com/saic-mdal/lama) by Samsung Research.