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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58f882e9d6a980ba0ae141e32742e17a9390770f03567b88cdf01ca818ebe6bf
|
|
| MD5 |
8cdbe6072d079743367b9bf87af90997
|
|
| BLAKE2b-256 |
91773f5467ba5aee91425630303a021e351eedd329c720236ee5ec7f292e8f46
|
File details
Details for the file fs_nsfw_checker-0.2.0-py3-none-any.whl.
File metadata
- Download URL: fs_nsfw_checker-0.2.0-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfd34abc332a998dfd8a98a216935e0282e2a3baf6f6ae7943ff43c9a2ba2ccf
|
|
| MD5 |
5c0f09bdcac8dd616b267e69866ee4a3
|
|
| BLAKE2b-256 |
e927052eb2c14eca8f4cad97d3184fb2b41222aa6607b31c22187a857c6fe930
|