logo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Readme
Files and versions

Updated 1 year ago

towhee

Pipeline: Anime-Transfer

Overview

The pipeline is used to animate images. It uses the AnimeGanV2 to cartoonize the images.

Interface

Input Arguments:

  • source
    • image soure for input image, defauts to 'upload', you can also switch to 'webcam'.
    • supported types: str

Pipeline Output: The pipeline returns a tuple Tuple[('imp_path', str)] containing following fields:

  • img_path:
    • The input image path
    • data type: str

How to use

  1. Install Towhee
$ pip3 install towhee

You can refer to Getting Started with Towhee for more details. If you have any questions, you can submit an issue to the towhee repository.

  1. Run it with Towhee
>>> from towhee import pipeline
>>> embedding_pipeline = pipeline('towhee/anime-transfer')
>>> embedding = embedding_pipeline('webcam') # The way users upload image, default being 'upload'.
Kaiyuan Hu ca55eaa1bd Modify README 3 Commits
file-icon .gitignore
3.0 KiB
download-icon
Add anime-transfer 1 year ago
file-icon README.md
943 B
download-icon
Modify README 1 year ago
file-icon anime_transfer.yaml
2.6 KiB
download-icon
Add anime-transfer 1 year ago