Skip to main content

Nudity detection with re-trained Tensorflow MobileNet Model http://nudity.canaydogan.net

Project description

nudity (fixed)

.. image:: https://travis-ci.org/canaydogan/nudity.svg?branch=master :target: https://travis-ci.org/canaydogan/nudity :alt: Build status

About

Nudity detection with re-trained Tensorflow MobileNet Model. Accuracy is 92.2% based on my dataset.

Installation

.. code-block:: sh

$ pip install isnude

Requirements

  • Python3.5+

Usage

via command-line

.. code-block:: sh

$ nudity --image=IMAGE_FILE

via Python Module

.. code-block:: python

from nudity import Nudity
nudity = Nudity();
print(nudity.has('/file/path/example.jpg'))
# gives you True or False

print(nudity.score('/file/path/example.jpg'))
# gives you nudity score 0 - 1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

isnude-0.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

isnude-0.0.1-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file isnude-0.0.1.tar.gz.

File metadata

  • Download URL: isnude-0.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for isnude-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5331f1a682b57ecea77ce16559c69510a4bd163d23dba85b25c8ce2eecee8e16
MD5 b3988e740624c45f148c4c09d5d0ae86
BLAKE2b-256 d9513254946411fc17b33cc8e887d5f1bc47b703222e981c80f988fdf7d49561

See more details on using hashes here.

File details

Details for the file isnude-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: isnude-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1

File hashes

Hashes for isnude-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 55556c6284db5215b97599e3a45883b2b9734b290be29eb61782f7c0aedd958e
MD5 dc6cab4c6f355956c9ff99216b903236
BLAKE2b-256 05c80dfac7f5fe25dafe914e6adfbfaac611415eaff78eb540060d9a0ef93c16

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page