├── .gitignore ├── README.md ├── _01_open_cv_cascade_classifier ├── 01_face_detection_image.py ├── 02_face_detection_camera.py └── pooya.jpg ├── _02_mtcnn_tf1 ├── 01_image.py ├── 02_video.py ├── 03_fun.py ├── deep_utils_mtcnn.ipynb └── friends.jpg ├── _03_facenet_keras ├── 01_prepare_data.py ├── 02_face_recognizer_image.py ├── 03_face_recognizer_camera.py ├── Readme.md ├── data │ ├── encodings │ │ └── encodings.pkl │ ├── people │ │ ├── ali │ │ │ └── ali.jpg │ │ ├── farshad │ │ │ └── farshad.jpg │ │ ├── menoo │ │ │ └── menoo_1.jpg │ │ ├── pooya │ │ │ └── pooya.jpg │ │ ├── shahriar │ │ │ ├── shahriar_1.jpg │ │ │ └── shahriar_2.jpg │ │ └── vahid │ │ │ └── vahid.jpg │ ├── results │ │ └── friends.jpg │ └── test │ │ └── friends.jpg └── recognizer.ipynb ├── _04_face_alignment ├── 01_face_alignment.py ├── face_alignment_func.py ├── facenet_with_alignment │ ├── 01_prepare_data.py │ ├── 02_face_recognizer_image.py │ ├── 03_face_recognizer_camera.py │ └── data │ │ ├── encodings │ │ └── encodings.pkl │ │ ├── people │ │ └── mojtaba │ │ │ └── mojtaba.jpg │ │ ├── results │ │ ├── mojtaba_no_alignment.jpg │ │ └── mojtaba_with_alignment.jpg │ │ └── test │ │ └── mojtaba.jpg └── pooya.jpg ├── _05_face_augmented_reality ├── _01_augmentation_image_moustache.py ├── _02_augmentation_image_moustache_glasses.py ├── _03_augmentation_camera.py └── data │ ├── images │ ├── glasses.png │ ├── golsa.jpg │ └── moustache.png │ ├── models │ ├── haarcascade_frontalface_default.xml │ ├── haarcascade_mcs_eyepair_big.xml │ └── haarcascade_mcs_nose.xml │ └── results │ └── goli_augmented.jpg └── utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/README.md -------------------------------------------------------------------------------- /_01_open_cv_cascade_classifier/01_face_detection_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_01_open_cv_cascade_classifier/01_face_detection_image.py -------------------------------------------------------------------------------- /_01_open_cv_cascade_classifier/02_face_detection_camera.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_01_open_cv_cascade_classifier/02_face_detection_camera.py -------------------------------------------------------------------------------- /_01_open_cv_cascade_classifier/pooya.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_01_open_cv_cascade_classifier/pooya.jpg -------------------------------------------------------------------------------- /_02_mtcnn_tf1/01_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_02_mtcnn_tf1/01_image.py -------------------------------------------------------------------------------- /_02_mtcnn_tf1/02_video.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_02_mtcnn_tf1/02_video.py -------------------------------------------------------------------------------- /_02_mtcnn_tf1/03_fun.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_02_mtcnn_tf1/03_fun.py -------------------------------------------------------------------------------- /_02_mtcnn_tf1/deep_utils_mtcnn.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_02_mtcnn_tf1/deep_utils_mtcnn.ipynb -------------------------------------------------------------------------------- /_02_mtcnn_tf1/friends.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_02_mtcnn_tf1/friends.jpg -------------------------------------------------------------------------------- /_03_facenet_keras/01_prepare_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_03_facenet_keras/01_prepare_data.py -------------------------------------------------------------------------------- /_03_facenet_keras/02_face_recognizer_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_03_facenet_keras/02_face_recognizer_image.py -------------------------------------------------------------------------------- /_03_facenet_keras/03_face_recognizer_camera.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_03_facenet_keras/03_face_recognizer_camera.py -------------------------------------------------------------------------------- /_03_facenet_keras/Readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_03_facenet_keras/Readme.md -------------------------------------------------------------------------------- /_03_facenet_keras/data/encodings/encodings.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_03_facenet_keras/data/encodings/encodings.pkl -------------------------------------------------------------------------------- /_03_facenet_keras/data/people/ali/ali.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_03_facenet_keras/data/people/ali/ali.jpg -------------------------------------------------------------------------------- /_03_facenet_keras/data/people/farshad/farshad.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_03_facenet_keras/data/people/farshad/farshad.jpg -------------------------------------------------------------------------------- /_03_facenet_keras/data/people/menoo/menoo_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_03_facenet_keras/data/people/menoo/menoo_1.jpg -------------------------------------------------------------------------------- /_03_facenet_keras/data/people/pooya/pooya.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_03_facenet_keras/data/people/pooya/pooya.jpg -------------------------------------------------------------------------------- /_03_facenet_keras/data/people/shahriar/shahriar_1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_03_facenet_keras/data/people/shahriar/shahriar_1.jpg -------------------------------------------------------------------------------- /_03_facenet_keras/data/people/shahriar/shahriar_2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_03_facenet_keras/data/people/shahriar/shahriar_2.jpg -------------------------------------------------------------------------------- /_03_facenet_keras/data/people/vahid/vahid.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_03_facenet_keras/data/people/vahid/vahid.jpg -------------------------------------------------------------------------------- /_03_facenet_keras/data/results/friends.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_03_facenet_keras/data/results/friends.jpg -------------------------------------------------------------------------------- /_03_facenet_keras/data/test/friends.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_03_facenet_keras/data/test/friends.jpg -------------------------------------------------------------------------------- /_03_facenet_keras/recognizer.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_03_facenet_keras/recognizer.ipynb -------------------------------------------------------------------------------- /_04_face_alignment/01_face_alignment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_04_face_alignment/01_face_alignment.py -------------------------------------------------------------------------------- /_04_face_alignment/face_alignment_func.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_04_face_alignment/face_alignment_func.py -------------------------------------------------------------------------------- /_04_face_alignment/facenet_with_alignment/01_prepare_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_04_face_alignment/facenet_with_alignment/01_prepare_data.py -------------------------------------------------------------------------------- /_04_face_alignment/facenet_with_alignment/02_face_recognizer_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_04_face_alignment/facenet_with_alignment/02_face_recognizer_image.py -------------------------------------------------------------------------------- /_04_face_alignment/facenet_with_alignment/03_face_recognizer_camera.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_04_face_alignment/facenet_with_alignment/03_face_recognizer_camera.py -------------------------------------------------------------------------------- /_04_face_alignment/facenet_with_alignment/data/encodings/encodings.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_04_face_alignment/facenet_with_alignment/data/encodings/encodings.pkl -------------------------------------------------------------------------------- /_04_face_alignment/facenet_with_alignment/data/people/mojtaba/mojtaba.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_04_face_alignment/facenet_with_alignment/data/people/mojtaba/mojtaba.jpg -------------------------------------------------------------------------------- /_04_face_alignment/facenet_with_alignment/data/results/mojtaba_no_alignment.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_04_face_alignment/facenet_with_alignment/data/results/mojtaba_no_alignment.jpg -------------------------------------------------------------------------------- /_04_face_alignment/facenet_with_alignment/data/results/mojtaba_with_alignment.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_04_face_alignment/facenet_with_alignment/data/results/mojtaba_with_alignment.jpg -------------------------------------------------------------------------------- /_04_face_alignment/facenet_with_alignment/data/test/mojtaba.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_04_face_alignment/facenet_with_alignment/data/test/mojtaba.jpg -------------------------------------------------------------------------------- /_04_face_alignment/pooya.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_04_face_alignment/pooya.jpg -------------------------------------------------------------------------------- /_05_face_augmented_reality/_01_augmentation_image_moustache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_05_face_augmented_reality/_01_augmentation_image_moustache.py -------------------------------------------------------------------------------- /_05_face_augmented_reality/_02_augmentation_image_moustache_glasses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_05_face_augmented_reality/_02_augmentation_image_moustache_glasses.py -------------------------------------------------------------------------------- /_05_face_augmented_reality/_03_augmentation_camera.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_05_face_augmented_reality/_03_augmentation_camera.py -------------------------------------------------------------------------------- /_05_face_augmented_reality/data/images/glasses.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_05_face_augmented_reality/data/images/glasses.png -------------------------------------------------------------------------------- /_05_face_augmented_reality/data/images/golsa.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_05_face_augmented_reality/data/images/golsa.jpg -------------------------------------------------------------------------------- /_05_face_augmented_reality/data/images/moustache.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_05_face_augmented_reality/data/images/moustache.png -------------------------------------------------------------------------------- /_05_face_augmented_reality/data/models/haarcascade_frontalface_default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_05_face_augmented_reality/data/models/haarcascade_frontalface_default.xml -------------------------------------------------------------------------------- /_05_face_augmented_reality/data/models/haarcascade_mcs_eyepair_big.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_05_face_augmented_reality/data/models/haarcascade_mcs_eyepair_big.xml -------------------------------------------------------------------------------- /_05_face_augmented_reality/data/models/haarcascade_mcs_nose.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_05_face_augmented_reality/data/models/haarcascade_mcs_nose.xml -------------------------------------------------------------------------------- /_05_face_augmented_reality/data/results/goli_augmented.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/_05_face_augmented_reality/data/results/goli_augmented.jpg -------------------------------------------------------------------------------- /utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pooya-mohammadi/Face/HEAD/utils.py --------------------------------------------------------------------------------