This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Fetch faces from the interwebs by name | |
Uses Google Image Search to get a bunch faces | |
based on the specified name | |
''' | |
from os import path, errno, makedirs | |
import urllib.request | |
import re |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Extract a known face from a video. | |
Uses a combination of a deep learning CNN model to batch detect faces | |
in video frames, or a sequence of images, in GPU with CUDA and HoG to compare | |
the detected faces with a computed reference set of face encodings. | |
''' | |
from os import path, listdir | |
from typing import NamedTuple |