Files and versions
Updated 7 months ago
The pipeline is used to animate images. It uses the AnimeGanV2 to cartoonize the images.
- 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:
- The input image path
- data type: str
How to use
- 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.
- 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'.