Skip to content

implementation of the paper: Robust Lip Segmentation Based on Complexion Mixture Model

Notifications You must be signed in to change notification settings

xaiocaibi/LipSegmentation

 
 

Repository files navigation

LipSegmentation

implementation of the paper: Robust Lip Segmentation Based on Complexion Mixture Model

#Opencv 2.4.4

example

//faceImage is the ROI (Region Of Interest) in the input image using face detection
	LipSegmentation lipPro(faceImage);
	bool isLip = lipPro.ProcessFlow();
	if (isLip)
	{
		lipDetectRes = 1;//嘴唇检测成功设为1

		IplImage* lipExtractImage = lipPro.GetLipImage();
		//cvShowImage("lipExtractImage",lipExtractImage);

		CvScalar lipColorFeature = lipPro.ExtractLipColorFeature();
		
		LipColorRecognition lipColorRecognition;
		lipColor = lipColorRecognition.colorPredict(lipColorFeature);
	}
	else
	{
		lipDetectRes = 0;//嘴唇检测失败设为0
	}

About

implementation of the paper: Robust Lip Segmentation Based on Complexion Mixture Model

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.8%
  • C 2.2%