Skip to content

Instantly share code, notes, and snippets.

View xeron56's full-sized avatar
🎯
Available for Work

MD. SHAHIDUL ISLAM xeron56

🎯
Available for Work
View GitHub Profile
@xeron56
xeron56 / FaceGrab.py
Created February 18, 2020 09:39 — forked from facepainter/FaceGrab.py
Batch extract known face from video/image sequence (CNN GPU with CUDA / HoG)
'''
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