Skip to main content

A package to check NSFW content in virtual try-on using the free FitSnap API

Project description

A Python package to check NSFW content using the FitSnap API.

Installation

pip install fs-nsfw-checker

Usage

from PIL import Image
from fs_nsfw_checker import checkNSFW

garment = Image.open('path_to_garment.png')
model = Image.open('path_to_model.png')
result = Image.open('path_to_result.png')

checkNSFW(garment, model, result, "Description of the image", "Image category")

Note: The checkNSFW function returns immediately after initiating the check and does not wait for the result.

License

This project is licensed under the MIT License.

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

fs_nsfw_checker-0.2.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

fs_nsfw_checker-0.2.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fs_nsfw_checker-0.2.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for fs_nsfw_checker-0.2.0.tar.gz
Algorithm Hash digest
SHA256 58f882e9d6a980ba0ae141e32742e17a9390770f03567b88cdf01ca818ebe6bf
MD5 8cdbe6072d079743367b9bf87af90997
BLAKE2b-256 91773f5467ba5aee91425630303a021e351eedd329c720236ee5ec7f292e8f46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fs_nsfw_checker-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dfd34abc332a998dfd8a98a216935e0282e2a3baf6f6ae7943ff43c9a2ba2ccf
MD5 5c0f09bdcac8dd616b267e69866ee4a3
BLAKE2b-256 e927052eb2c14eca8f4cad97d3184fb2b41222aa6607b31c22187a857c6fe930

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