/Live-Face-Detection-Segmentation

Python scripts to detect and segment face using opencv, pixellib. Separate scripts for face detction and instance segmentation using Mask R-CNN and Xception-65.

Primary LanguagePython

Live-Face-Detection-Segmentation

Python scripts to detect and segment face using opencv, pixellib. Separate scripts for face detction and instance segmentation using Mask R-CNN and Xception-65.

Model Used

Working

Detects coordinates of face using built-in cascade classifier in opencv. The image is cropped and passed to state of the art neural networks to mask and segment face and objects. Takes input in real-time from webcam.

Use

  • Download models from the links above and save to directory Models.
  • Download required Python libraries.
  • Run the required python script.