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.
Metadata
Release files for fs-nsfw-checker 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fs_nsfw_checker-0.2.0.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fs_nsfw_checker-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.4 kB
Release files / fs_nsfw_checker-0.2.0.tar.gz
| Download URL | fs_nsfw_checker-0.2.0.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58f882e9d6a980ba0ae141e32742e17a9390770f03567b88cdf01ca818ebe6bf
|
|
BLAKE2b-256 checksum How to use checksums |
91773f5467ba5aee91425630303a021e351eedd329c720236ee5ec7f292e8f46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.4
|
Release files / fs_nsfw_checker-0.2.0-py3-none-any.whl
| Download URL | fs_nsfw_checker-0.2.0-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dfd34abc332a998dfd8a98a216935e0282e2a3baf6f6ae7943ff43c9a2ba2ccf
|
|
BLAKE2b-256 checksum How to use checksums |
e927052eb2c14eca8f4cad97d3184fb2b41222aa6607b31c22187a857c6fe930
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.4
|