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.2.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

wdtagger-0.2.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file wdtagger-0.2.0.tar.gz.

File metadata

  • Download URL: wdtagger-0.2.0.tar.gz
  • Upload date:
  • Size: 3.9 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.2.0.tar.gz
Algorithm Hash digest
SHA256 77b0777c41f6fe62bdcef7b005e6d33831f36a701de2d99c80d1a4f1fba9ef76
MD5 6bbaa47ebf9aaf2f06f4d54958d647da
BLAKE2b-256 78cfe53d9ff4b41680edc4c17162aef4aeccbacdd884e5a92790f306d370efa9

See more details on using hashes here.

File details

Details for the file wdtagger-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: wdtagger-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a1e345a723833a21ab65d4ba342bffb232d65ae86e83915816cee89007fd5de
MD5 95d05213739a93cfd02a916e8ba48bff
BLAKE2b-256 9ae788b0563eafe37ab91abcf9e96a8f9d51171704daf99d757111230dece2df

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