Package | Description |
---|---|
com.tencentcloudapi.facefusion.v20220927.models |
Modifier and Type | Method and Description |
---|---|
FaceRect |
MergeInfo.getInputImageFaceRect()
Get 上传的图片人脸位置信息(人脸框)
Width、Height >= 30。
|
FaceRect |
LogoParam.getLogoRect()
Get 标识图片位于融合结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配。
Width、Height <= 2160。
|
FaceRect |
MergeInfo.getTemplateFaceRect()
Get 模板中人脸位置信息(人脸框),不填默认取最大人脸。此字段仅适用于图片融合自定义模板素材场景。
Width、Height >= 30。
|
Modifier and Type | Method and Description |
---|---|
void |
MergeInfo.setInputImageFaceRect(FaceRect InputImageFaceRect)
Set 上传的图片人脸位置信息(人脸框)
Width、Height >= 30。
|
void |
LogoParam.setLogoRect(FaceRect LogoRect)
Set 标识图片位于融合结果图中的坐标,将按照坐标对标识图片进行位置和大小的拉伸匹配。
Width、Height <= 2160。
|
void |
MergeInfo.setTemplateFaceRect(FaceRect TemplateFaceRect)
Set 模板中人脸位置信息(人脸框),不填默认取最大人脸。此字段仅适用于图片融合自定义模板素材场景。
Width、Height >= 30。
|
Constructor and Description |
---|
FaceRect(FaceRect source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Copyright © 2024. All rights reserved.