├── .coveragerc ├── .gitignore ├── .travis.yml ├── CONTRIBUTING.md ├── LICENSE ├── README.rst ├── doc └── examples │ ├── 1_face_debug_dlib.jpg │ ├── 1_face_debug_opencv.jpg │ ├── 1_face_out_thug.jpg │ ├── 3_faces_thug_custom.jpeg │ └── normal_meme_out.jpg ├── requirements.txt ├── setup.cfg ├── setup.py ├── src └── thug │ ├── __init__.py │ ├── cli.py │ ├── conf.py │ ├── default.conf │ ├── detect │ ├── __init__.py │ ├── abc.py │ ├── data │ │ ├── haarcascade_eye.xml │ │ ├── haarcascade_frontalface_default.xml │ │ └── haarcascade_mouth.xml │ ├── debug.py │ ├── dlib.py │ ├── opencv.py │ └── result.py │ └── meme │ ├── __init__.py │ ├── basic.py │ ├── data │ ├── cigar.png │ └── glasses.png │ └── thug.py ├── tests ├── __init__.py ├── conftest.py ├── data │ └── img │ │ ├── 1_face.jpg │ │ ├── 3_faces.jpeg │ │ ├── cigar.png │ │ └── glasses.png ├── detect │ ├── __init__.py │ ├── test_detectors.py │ └── test_result.py ├── meme │ ├── __init__.py │ ├── test_basic.py │ └── test_thug.py └── test_cli.py └── tox.ini /.coveragerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/.coveragerc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/.travis.yml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/LICENSE -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/README.rst -------------------------------------------------------------------------------- /doc/examples/1_face_debug_dlib.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/doc/examples/1_face_debug_dlib.jpg -------------------------------------------------------------------------------- /doc/examples/1_face_debug_opencv.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/doc/examples/1_face_debug_opencv.jpg -------------------------------------------------------------------------------- /doc/examples/1_face_out_thug.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/doc/examples/1_face_out_thug.jpg -------------------------------------------------------------------------------- /doc/examples/3_faces_thug_custom.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/doc/examples/3_faces_thug_custom.jpeg -------------------------------------------------------------------------------- /doc/examples/normal_meme_out.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/doc/examples/normal_meme_out.jpg -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | click==6.7 2 | face-recognition-models==0.3.0 3 | opencv-python>=3.4.0.12 -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/setup.py -------------------------------------------------------------------------------- /src/thug/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/thug/cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/src/thug/cli.py -------------------------------------------------------------------------------- /src/thug/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/src/thug/conf.py -------------------------------------------------------------------------------- /src/thug/default.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/src/thug/default.conf -------------------------------------------------------------------------------- /src/thug/detect/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/src/thug/detect/__init__.py -------------------------------------------------------------------------------- /src/thug/detect/abc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/src/thug/detect/abc.py -------------------------------------------------------------------------------- /src/thug/detect/data/haarcascade_eye.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/src/thug/detect/data/haarcascade_eye.xml -------------------------------------------------------------------------------- /src/thug/detect/data/haarcascade_frontalface_default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/src/thug/detect/data/haarcascade_frontalface_default.xml -------------------------------------------------------------------------------- /src/thug/detect/data/haarcascade_mouth.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/src/thug/detect/data/haarcascade_mouth.xml -------------------------------------------------------------------------------- /src/thug/detect/debug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/src/thug/detect/debug.py -------------------------------------------------------------------------------- /src/thug/detect/dlib.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/src/thug/detect/dlib.py -------------------------------------------------------------------------------- /src/thug/detect/opencv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/src/thug/detect/opencv.py -------------------------------------------------------------------------------- /src/thug/detect/result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/src/thug/detect/result.py -------------------------------------------------------------------------------- /src/thug/meme/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/src/thug/meme/__init__.py -------------------------------------------------------------------------------- /src/thug/meme/basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/src/thug/meme/basic.py -------------------------------------------------------------------------------- /src/thug/meme/data/cigar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/src/thug/meme/data/cigar.png -------------------------------------------------------------------------------- /src/thug/meme/data/glasses.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/src/thug/meme/data/glasses.png -------------------------------------------------------------------------------- /src/thug/meme/thug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/src/thug/meme/thug.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/data/img/1_face.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/tests/data/img/1_face.jpg -------------------------------------------------------------------------------- /tests/data/img/3_faces.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/tests/data/img/3_faces.jpeg -------------------------------------------------------------------------------- /tests/data/img/cigar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/tests/data/img/cigar.png -------------------------------------------------------------------------------- /tests/data/img/glasses.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/tests/data/img/glasses.png -------------------------------------------------------------------------------- /tests/detect/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/detect/test_detectors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/tests/detect/test_detectors.py -------------------------------------------------------------------------------- /tests/detect/test_result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/tests/detect/test_result.py -------------------------------------------------------------------------------- /tests/meme/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/meme/test_basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/tests/meme/test_basic.py -------------------------------------------------------------------------------- /tests/meme/test_thug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/tests/meme/test_thug.py -------------------------------------------------------------------------------- /tests/test_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/tests/test_cli.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jerry-git/thug-memes/HEAD/tox.ini --------------------------------------------------------------------------------