source: internals/2016/aptoideimagesdetector/trunk/Source Code/nude.py-master/nude.py-master/README.rst @ 16289

Last change on this file since 16289 was 16289, checked in by dferreira, 3 years ago

Initial content. All the tests done to three open-source platrofms.

  • Property svn:executable set to *
File size: 871 bytes
Line 
1nude.py
2=======
3
4About
5-----
6Nudity detection with Python. Port of `nude.js`_ to Python.
7
8.. _`nude.js`: https://github.com/pa7/nude.js
9
10
11Installation
12------------
13from pip::
14
15    $ pip install --upgrade nudepy
16
17from easy_install::
18
19    $ easy_install -ZU nudepy
20
21
22Requirements
23------------
24* Python2.7+ and Python3.3+
25* Pillow
26
27
28Usage
29-----
30via command-line
31
32.. code-block:: sh
33
34    $ nudepy IMAGE_FILE
35
36via Python Module
37
38.. code-block:: python
39
40    import nude
41    from nude import Nude
42
43    print(nude.is_nude('./nude.rb/spec/images/damita.jpg'))
44
45    n = Nude('./nude.rb/spec/images/damita.jpg')
46    n.parse()
47    print("damita :", n.result, n.inspect())
48
49see examples_ .
50
51.. _examples: https://github.com/hhatto/nude.py/tree/master/examples
52
53Links
54-----
55* PyPI_
56* GitHub_
57
58.. _PyPI: http://pypi.python.org/pypi/nudepy/
59.. _GitHub: https://github.com/hhatto/nude.py
Note: See TracBrowser for help on using the repository browser.