No project description provided
Project description
wdtagger
wdtagger
is a simple and easy-to-use wrapper for the tagger model created by SmilingWolf which is specifically designed for tagging anime illustrations.
Installation
You can install wdtagger
via pip:
pip install wdtagger
Usage
Below is a basic example of how to use wdtagger in your project:
from PIL import Image
from wdtagger import Tagger
tagger = Tagger() # You can provide the model_repo, the default is "SmilingWolf/wd-swinv2-tagger-v3"
image = Image.open("image.jpg")
result = tagger.tag(image)
print(result)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wdtagger-0.3.0.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file wdtagger-0.3.0.tar.gz
.
File metadata
- Download URL: wdtagger-0.3.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.1 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 148da063ace4b3b121b101aceef31f35b16bf22a009b83ac86f277067ad38ed6 |
|
MD5 | 35906a06422276a0014f0cf655cdbe78 |
|
BLAKE2b-256 | 848959f72ad01f3cc902b8e407ba70920fcfecbf28276ec4fcbe6d7383a5dabf |
File details
Details for the file wdtagger-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: wdtagger-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.1 Windows/11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9f221dae311c26f6c9356c5108443d8972cdd17137e20266c1473d663af397d |
|
MD5 | cc8aad279b5d72f1a33034ae795c30a5 |
|
BLAKE2b-256 | 261f1cdebabceecbbea24f9e52fd7d666cf7faf40bc2a250a29ca0df607ff047 |