https://github.com/bes-dev/image_to_sticker
Convert image to sticker
https://github.com/bes-dev/image_to_sticker
Last synced: over 1 year ago
JSON representation
Convert image to sticker
- Host: GitHub
- URL: https://github.com/bes-dev/image_to_sticker
- Owner: bes-dev
- License: apache-2.0
- Created: 2023-12-11T16:18:24.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-02-20T21:36:54.000Z (over 2 years ago)
- Last Synced: 2024-04-14T03:05:58.007Z (about 2 years ago)
- Language: Python
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Image-To-Sticker
A simple python library that converts image to sticker.
## Requirements
* Linux, Windows, MacOS
* Python 3.8.+
## Install package
```bash
pip install image_to_sticker
```
## Install the latest version
```bash
pip install --upgrade git+https://github.com/bes-dev/image_to_sticker.git
```
## Demo
```bash
python -m image_to_sticker.image_to_sticker --help
usage: image_to_sticker.py [-h] [--device DEVICE] [--fp16] [--model-name MODEL_NAME] --input-dir INPUT_DIR --output-dir OUTPUT_DIR [--image-size IMAGE_SIZE] [--postprocess]
[--border-radius BORDER_RADIUS]
options:
-h, --help show this help message and exit
--device DEVICE
--fp16
--model-name MODEL_NAME
--input-dir INPUT_DIR
--output-dir OUTPUT_DIR
--image-size IMAGE_SIZE
--postprocess
--border-radius BORDER_RADIUS
```