Fix skin exposure mask islands and OSC coordinates; prepare 1.0.2
这个提交包含在:
1 父节点
dd04a471e1
当前提交
d561537eed
19 个文件已更改
+364
-35
没有与搜索条件相匹配的文件
@@ -79,6 +79,8 @@ int main(int argc, const char *argv[]) {
|
||||
PGBeautySettings unprotected = settings; unprotected.featureProtection = 0;
|
||||
PGFaceFrame *withoutProtection = [processor processImage:image settings:unprotected time:kCMTimeZero error:&error];
|
||||
Check(Channel(context, frame.skinMask, 23, 71, 0) < Channel(context, withoutProtection.skinMask, 23, 71, 0), @"feature protection removes eye from skin smoothing");
|
||||
Check([Pixels(context,frame.colorMask) isEqualToData:Pixels(context,withoutProtection.colorMask)], @"color support remains continuous when detail protection is toggled");
|
||||
Check(Channel(context,frame.colorMask,23,71,0)>Channel(context,frame.skinMask,23,71,0), @"color support retains coverage inside eye protection cutouts");
|
||||
|
||||
settings.singleFace = 1; settings.selectionX = 0.78; settings.selectionY = 0.45;
|
||||
frame = [processor processImage:image settings:settings time:kCMTimeZero error:&error];
|
||||
|
||||
在新工单中引用
屏蔽一个用户