A model for human skin segmentation on an image/video. Based on Bayesian probability estimation:
where skin likelihood and nonskin likelihood were estimated by GMM (GMM parameters were taken from this paper https://www.hpl.hp.com/techreports/Compaq-DEC/CRL-98-11.pdf).The code can be launched both on CPU and GPU.
Original | Segmented |
---|---|
- OpenCV 4.1.2
- (optional) OpenMP 2.0
- (optional) CUDA 10.0
SkinSegmentation.exe INPUT [RESIZE] [ROTATE]