/dlib_facedetector_pytorch

Porting of Dlib's mmod deep learning face detector model to pytorch, and examples of using it for webcam detection, and face haluciniations

Primary LanguagePython

Dlib's face detector ported to PyTorch

This repository contains code to:

  • Convert a Dlib model in XML format, to a PyTorch sequential object. This happens in dlib_torch_converter.py, in get_model.
  • Run multi scale face detection in a webcam. python webcam_example.py face.xml
  • Hallucinate faces using activation maximization. python webcam_example.py face.xml