Skip to content

hhatto/nude.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e77172c · Nov 23, 2020

History

79 Commits
Jul 12, 2016
May 29, 2017
Sep 26, 2016
Mar 26, 2020
Jun 22, 2019
Jun 22, 2019
Jun 9, 2013
Sep 26, 2016
Aug 29, 2018
Nov 23, 2020
Mar 26, 2020
Jul 12, 2016

Repository files navigation

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