opencv美颜磨皮

#!/bin/python
# 祛痘美白

import numpy as np
import cv2


def beauty_face(img):
    '''
    Dest =(Src * (100 - Opacity) + (Src + 2 * GuassBlur(EPFFilter(Src) - Src + 128) - 256) * Opacity) /100 ;
    https://my.oschina.net/wujux/blog/1563461
    '''

    dst = np.zeros_like(img)
    # int value1 = 3, value2 = 

你可能感兴趣的:(美颜,opencv,计算机视觉,图像处理)