Skip to content

ipconfiger/nude.py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nude.py

About

Nudity detection with Python. Port of nude.js to Python.

Installation

from pip:

$ pip install --upgrade nudepy

from easy_install:

$ easy_install -ZU nudepy

Requirements

  • Python2.7+ and Python3.3+
  • Pillow

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 .

About

Nudity detection with Python

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.3%
  • Makefile 0.7%