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

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

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

```