Skip to content

Instantly share code, notes, and snippets.

View progerjkd's full-sized avatar

Roger Vasconcelos progerjkd

View GitHub Profile
@progerjkd
progerjkd / facerecognition.py
Created February 7, 2019 01:26
A simple face recognition system using opencv2 and dlib to perform face encodings, and calculate Euclidean distances from a database of previously encoded faces.
import face_recognition
import cv2
import numpy as np
import glob
import os
import logging
import pickle
# adapted from the Deep Learning: Face Recognition course from LinkedIn Learning
@progerjkd
progerjkd / facerecognition.py
Created February 7, 2019 01:26
A simple face recognition system using opencv2 and dlib to perform face encodings, and calculate Euclidean distances from a database of previously encoded faces.
import face_recognition
import cv2
import numpy as np
import glob
import os
import logging
import pickle
# adapted from the Deep Learning: Face Recognition course from LinkedIn Learning