Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jsonfm/flask-image-bgremover
🌌 🌶️ An image background remover app made with Python Flask.
https://github.com/jsonfm/flask-image-bgremover
alpinejs backend background-remover css flask html image javascript pillow python
Last synced: 8 days ago
JSON representation
🌌 🌶️ An image background remover app made with Python Flask.
- Host: GitHub
- URL: https://github.com/jsonfm/flask-image-bgremover
- Owner: jsonfm
- Created: 2023-08-06T17:56:12.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-06T22:25:06.000Z (over 1 year ago)
- Last Synced: 2024-12-03T09:14:15.223Z (2 months ago)
- Topics: alpinejs, backend, background-remover, css, flask, html, image, javascript, pillow, python
- Language: HTML
- Homepage:
- Size: 513 KB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### 🌌 BgRemover
An image background remover application made with Python/Flask as a backend and HTML/JS/CSS as frontend. It's a full responsive website, designed with mobile first methodology.
The `API` endpoint is accessible in the `/removebg` path, which can be used as follows:
```js
const body = {
image: "some-image-on-base64-format",
};
try {
const response = await axios.post("/removebg", body);
const result = response?.data?.result;
} catch (error) {
console.error(error);
}
```### ⚙️ Technologies
- Flask
- Pillow
- Rembg
- HTML/CSS/JS
- Alpine.js### 📦 Installation
```
pip install -r requirements.txt
```
### ⚡️ Development
```
flask --app main run --debug
```