Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.