nude.py

Build status

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+
  • Cython
  • 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 .

Links

GitHub

https://github.com/hhatto/nude.py