Nirkin Face Segmentation  0.9.0
Deep face segmentation based on fully connected convolutional neural network.
utilities.h
Go to the documentation of this file.
1 
5 #ifndef __FACE_SEG_UTILITIES__
6 #define __FACE_SEG_UTILITIES__
7 
8 // OpenCV
9 #include <opencv2/core.hpp>
10 
11 namespace face_seg
12 {
20  void renderSegmentationBlend(cv::Mat& img, const cv::Mat& seg, float alpha = 0.5f,
21  const cv::Scalar& color = cv::Scalar(0, 0, 255));
22 
23 } // namespace face_seg
24 
25 #endif // __FACE_SEG_UTILITIES__
Definition: face_seg.h:13
void renderSegmentationBlend(cv::Mat &img, const cv::Mat &seg, float alpha=0.5f, const cv::Scalar &color=cv::Scalar(0, 0, 255))
Render segmentation blended with image.