MCPcopy Create free account

hub / github.com/anubhavshrimal/Face-Recognition / functions

Functions18 in github.com/anubhavshrimal/Face-Recognition

↓ 2 callersFunction_raw_face_landmarks
(face_image, face_locations=None)
face_recognition_api.py:107
↓ 2 callersFunction_raw_face_locations
Returns an array of bounding boxes of human faces in a image :param img: An image (as a numpy array) :param number_of_times_to_upsample:
face_recognition_api.py:85
↓ 1 callersFunction_filter_image_files
(training_dir_path)
create_encodings.py:21
↓ 1 callersFunction_get_each_labels_files
(training_dir_path)
create_encodings.py:17
↓ 1 callersFunction_get_training_dirs
(training_dir_path)
create_encodings.py:9
↓ 1 callersFunction_get_training_labels
(training_dir_path)
create_encodings.py:13
↓ 1 callersFunction_rect_to_tuple
Convert a dlib 'rect' object to a plain tuple in (top, right, bottom, left) order :param rect: a dlib 'rect' object :return: a plain tup
face_recognition_api.py:14
↓ 1 callersFunction_trim_rect_tuple_to_bounds
Make sure a tuple in (top, right, bottom, left) order is within the bounds of the image. :param rect: plain tuple representation of the rec
face_recognition_api.py:34
↓ 1 callersFunction_tuple_to_rect
Convert a tuple in (top, right, bottom, left) order to a dlib `rect` object :param rect: plain tuple representation of the rect in (top, ri
face_recognition_api.py:24
↓ 1 callersFunction_zipped_folders_labels_images
(training_dir_path, labels)
create_encodings.py:36
↓ 1 callersFunctioncreate_dataset
(training_dir_path, labels)
create_encodings.py:42
↓ 1 callersFunctionface_distance
Given a list of face encodings, compare them to a known face encoding and get a euclidean distance for each comparison face. The distance tel
face_recognition_api.py:45
↓ 1 callersFunctionget_prediction_images
(prediction_dir)
predict.py:7
Functioncompare_faces
Compare a list of face encodings against a candidate encoding to see if they match. :param known_face_encodings: A list of known face encodi
face_recognition_api.py:155
Functionface_encodings
Given an image, return the 128-dimension face encoding for each face in the image. :param face_image: The image that contains one or more fa
face_recognition_api.py:141
Functionface_landmarks
Given an image, returns a dict of face feature locations (eyes, nose, etc) for each face in the image :param face_image: image to search
face_recognition_api.py:116
Functionface_locations
Returns an array of bounding boxes of human faces in a image :param img: An image (as a numpy array) :param number_of_times_to_upsample:
face_recognition_api.py:96
Functionload_image_file
Loads an image file (.jpg, .png, etc) into a numpy array :param filename: image file to load :param mode: format to convert the image to
face_recognition_api.py:60