mudepy is maintained nudepy. Nudity detection with Python. Port of nude.js to Python
Project description
mudepy is maintained nudepy
About this fork
This is fork of https://github.com/hhatto/nude.py. I will try to keep it maintained with pre-compiled binary (wheel) packages.
Use it when you have this problem with original nudepy:
skin_classifier.c:196:12: fatal error: longintrepr.h: No such file or directory
196 | #include "longintrepr.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
If you use nudepy in your projects, just change to mudepy in dependencies. No other changes are required.
Installation
from pip:
$ pip install --upgrade mudepy
from pipx:
$ pipx install mudepy
Usage
via command-line
$ nudepy IMAGE_FILE
via Python Module
import nude
from nude import Nude
print(nude.is_nude('./nude.rb/spec/images/damita.jpg'))
n = Nude('./nude.rb/spec/images/damita.jpg')
n.parse()
print("damita :", n.result, n.inspect())
see examples .
Links
How to build binary wheel
Start manylinux docker container
docker run -it -v `pwd`:/io quay.io/pypa/manylinux2014_x86_64 /bin/bash
inside container:
cd io
./makeanylinux.sh
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
File details
Details for the file mudepy-0.5.2.tar.gz
.
File metadata
- Download URL: mudepy-0.5.2.tar.gz
- Upload date:
- Size: 63.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 516f4979db97785e9e56271044c34a60dfa6b99a652fcb7eb151e2a5677edd9f |
|
MD5 | bef5a256a197dd04fa60e4771f496470 |
|
BLAKE2b-256 | 266ff2500e7ffa7198b4c72342a8aa60bf4e41bec53ed11fd7ae88d9f89e4212 |
File details
Details for the file mudepy-0.5.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: mudepy-0.5.2-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 184.3 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14904301ed507079ee7510b139a373082cf0ca42a4e22d45553f5053c1247ef6 |
|
MD5 | 2b898d091fae0bc9d2bf8ea99896a6e3 |
|
BLAKE2b-256 | 9a2c9f46c8a5aa61454395a486af8ffe385f1eaf70cf173c00830a77fd2abfc0 |