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

Uploaded Source

Built Distribution

wdtagger-0.4.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wdtagger-0.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 0580b8a92da10dfac37fcfaadd287704b7702cb547a7e7ec7ad52f3f5b1722f1
MD5 7a37974208263d99acdced8c2aaf55e1
BLAKE2b-256 24dd486b5054acd2a8bfd7af9374276276b33757f4bee15065f66a0e21790530

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wdtagger-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94f13ae94f13ebdeaaad96ce5138c9df057674db897650130bfc062cea5ed009
MD5 2577e9ef85d4e025ab5dc7bd7c054e17
BLAKE2b-256 dc00651edab1ccc82ae73548c9d3d3a29ba434bc7a09144434770790313a528c

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