Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QuantumLiu/AIMakeup
/ functions
Functions
43 in github.com/QuantumLiu/AIMakeup
⨍
Functions
43
◇
Types & classes
6
↓ 16 callers
Method
whitening
提亮美白 arguments: rate:float,-1~1,new_V=min(255,V*(1+rate)) confirm:wether confirm this option
AIMakeup.py:114
↓ 14 callers
Method
smooth
磨皮 arguments: rate:float,0~1,im=rate*new+(1-rate)*src confirm:wether confirm this option
AIMakeup.py:153
↓ 8 callers
Method
_set_statu
批量设置状态
Ui_MakupGUI.py:85
↓ 8 callers
Method
get_mask_abs
获得全局绝对坐标遮罩
AIMakeup.py:103
↓ 8 callers
Method
sharpen
锐化
AIMakeup.py:174
↓ 7 callers
Method
get_patch
截取局部切片
AIMakeup.py:69
↓ 4 callers
Method
_mapfaces
对每张脸进行迭代操作
Ui_MakupGUI.py:111
↓ 4 callers
Method
_set_img
显示pixmap
Ui_MakupGUI.py:79
↓ 4 callers
Method
confirm
确认操作
AIMakeup.py:45
↓ 4 callers
Method
update_temp
更新临时图片
AIMakeup.py:51
↓ 3 callers
Method
get_mask_re
获得局部相对坐标遮罩
AIMakeup.py:83
↓ 2 callers
Method
_draw_convex_hull
勾画多凸边形
AIMakeup.py:76
↓ 2 callers
Method
brightening
提升鲜艳度 arguments: rate:float,-1~1,new_S=min(255,S*(1+rate)) confirm:wether confirm this option
AIMakeup.py:131
↓ 2 callers
Method
get_ksize
(self,rate=15)
AIMakeup.py:57
↓ 2 callers
Method
read_and_mark
(self,fname)
AIMakeup.py:326
↓ 2 callers
Method
save
保存图片
Ui_MakupGUI.py:265
↓ 1 callers
Method
__init__
(self,im_bgr,img_hsv,temp_bgr,temp_hsv,landmarks,index)
AIMakeup.py:235
↓ 1 callers
Method
_cv2qimg
将opencv的图片转换为QImage
Ui_MakupGUI.py:71
↓ 1 callers
Method
_set_connect
设置程序逻辑
Ui_MakupGUI.py:46
↓ 1 callers
Method
_setupUi
(self)
Ui_MakupGUI.py:180
↓ 1 callers
Method
get_faces
人脸定位和特征提取,定位到两张及以上脸或者没有人脸将抛出异常 im: 照片的numpy数组 fname: 照片名字的字符串 返回值: 人脸特征(x,
AIMakeup.py:300
↓ 1 callers
Method
get_forehead_landmark
计算额头坐标
AIMakeup.py:262
↓ 1 callers
Method
get_rect
获得定位方框
AIMakeup.py:62
↓ 1 callers
Method
read_im
读取图片
AIMakeup.py:316
↓ 1 callers
Method
retranslateUi
(self)
Ui_MakupGUI.py:271
↓ 1 callers
Method
set_temp
(self,temp_bgr,temp_hsv)
AIMakeup.py:41
Method
__init__
五官部位类 arguments: im_bgr:uint8 array, inference of BGR image im_hsv:uint8 array, inference of HSV image
AIMakeup.py:20
Method
__init__
(self,im_bgr,im_hsv,temp_bgr,temp_hsv,landmark,mask_organs,name,ksize=None)
AIMakeup.py:198
Method
__init__
(self,predictor_path="./data/shape_predictor_68_face_landmarks.dat")
AIMakeup.py:291
Method
__init__
(self, MainWindow)
Ui_MakupGUI.py:18
Method
_brightening
(self)
Ui_MakupGUI.py:142
Method
_cancel
还原到上一步
Ui_MakupGUI.py:97
Method
_confirm
确认操作
Ui_MakupGUI.py:91
Method
_open_img
打开图片
Ui_MakupGUI.py:54
Method
_reset
重置为原始图片
Ui_MakupGUI.py:104
Method
_save
(self)
Ui_MakupGUI.py:162
Method
_save_compare
(self)
Ui_MakupGUI.py:169
Method
_sharpen
(self)
Ui_MakupGUI.py:120
Method
_smooth
(self)
Ui_MakupGUI.py:149
Method
_view_compare
(self)
Ui_MakupGUI.py:176
Method
_whitening
(self)
Ui_MakupGUI.py:128
Method
fun
(face,value)
Ui_MakupGUI.py:123
Method
get_mask_re
获得局部相对坐标遮罩
AIMakeup.py:202