/image_to_sticker

Convert image to sticker

Primary LanguagePythonApache License 2.0Apache-2.0

Image-To-Sticker

A simple python library that converts image to sticker.

Requirements

  • Linux, Windows, MacOS
  • Python 3.8.+

Install package

pip install image_to_sticker

Install the latest version

pip install --upgrade git+https://github.com/bes-dev/image_to_sticker.git

Demo

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