Skip to main content

A package to check NSFW content using 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.1.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

fs_nsfw_checker-0.1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fs_nsfw_checker-0.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 339ae25442598db001bc30f94b7bf80a86428b2c151c4afc1f7f1e2d8f5d45e7
MD5 4873bd25143b3ae5d77cfa74f3618c9d
BLAKE2b-256 74f6c0248abf30e0355fb07c4521da47ddf6ae5e51ea949cc714802950fd994d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fs_nsfw_checker-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e5e22f01e3a3f95a6cc80a52f8ecafb6a5b0758873e377e8048f2d8d1cb5c87b
MD5 d33bb768e58919768aca495b15d15c66
BLAKE2b-256 1c95d44ea7f44eb7298ec687dbf57a03c6d43057133e464a89896b126af543ef

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