Skip to main content

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


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)

Uploaded Source

Built Distribution

wdtagger-0.3.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

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

Hashes for wdtagger-0.3.0.tar.gz
Algorithm Hash digest
SHA256 148da063ace4b3b121b101aceef31f35b16bf22a009b83ac86f277067ad38ed6
MD5 35906a06422276a0014f0cf655cdbe78
BLAKE2b-256 848959f72ad01f3cc902b8e407ba70920fcfecbf28276ec4fcbe6d7383a5dabf

See more details on using hashes here.

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

Hashes for wdtagger-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9f221dae311c26f6c9356c5108443d8972cdd17137e20266c1473d663af397d
MD5 cc8aad279b5d72f1a33034ae795c30a5
BLAKE2b-256 261f1cdebabceecbbea24f9e52fd7d666cf7faf40bc2a250a29ca0df607ff047

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page