matlab기반의 image warping을 통한 얼굴에 mask씌우기 - Code (Matlab) for automatically putting a mask on a face in photographs. The code matches features between the mask and the face in the photo and warps the mask and merges it onto the fac..
Face/Computer Vision based 2019. 11. 14. 15:50https://github.com/orlyliba/face-masker
Code for automatically putting a mask on a face in photographs. The code matches features between the mask and the face in the photo and warps the mask and merges it onto the face. Additionally, the code adds ears or a hat onto the photo.
face-masker
Code (Matlab) for automatically putting a mask on a face in photographs. The code matches features between the mask and the face in the photo and warps the mask and merges it onto the face. Additionally, the code adds ears or a hat onto the photo.
In order to detect matching feature points in the faces and masks, a separate algorithm should be used (this repository does not include it). I have tested two feature detectors that worked well:
- Face++ (http://www.faceplusplus.com/), in which feature detection is done in the cloud
- Clandmark (http://cmp.felk.cvut.cz/~uricamic/clandmark/), an open source landmarking library
Masks should be stored as the basis image, feature points and blending mask (binary or gray scale weights). The masks can also contain ears/hat/wig. The feature points are detected by the same algorithm that you plan on using for photos, and can be shifted manually. The blending masks are best when done manually with simple programs such as paint.
Read the report and look at the poster to learn more about this project.
'Face > Computer Vision based' 카테고리의 다른 글
python 자동 face warping 라이브러리 - PyChubby (0) | 2019.11.14 |
---|---|
Emotion Recognition using Facial Landmarks, Python, DLib and OpenCV (0) | 2016.09.30 |
Face-landmarks-detection-benchmark (0) | 2016.08.18 |
reference sites (0) | 2016.05.18 |