Skip to content

Instantly share code, notes, and snippets.

@anisayari
Last active October 18, 2019 15:25
Show Gist options
  • Save anisayari/abe05fb60986a2c60eefedea46ff2c94 to your computer and use it in GitHub Desktop.
Save anisayari/abe05fb60986a2c60eefedea46ff2c94 to your computer and use it in GitHub Desktop.
import cv2
import dlib
import PIL.Image
import numpy as np
from imutils import face_utils
import argparse
from pathlib import Path
import os
import ntpath
parser = argparse.ArgumentParser(description='Easy Facial Recognition App')
parser.add_argument('-i', '--input', type=str, required=True, help='directory of input known faces')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment