| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 | <?php/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * *    http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */namespace TencentCloud\Iai\V20180301\Models;use TencentCloud\Common\AbstractModel;/** * 人脸信息列表。 * * @method FaceRect getFaceRect() 获取检测出的人脸框位置。 * @method void setFaceRect(FaceRect $FaceRect) 设置检测出的人脸框位置。 * @method FaceDetailAttributesInfo getFaceDetailAttributesInfo() 获取人脸属性信息,根据 FaceAttributesType 输入的类型,返回年龄(Age)、颜值(Beauty) 情绪(Emotion)、眼睛信息(Eye)、眉毛(Eyebrow)、性别(Gender) 头发(Hair)、帽子(Hat)、姿态(Headpose)、口罩(Mask)、嘴巴(Mouse)、胡子(Moustache) 鼻子(Nose)、脸型(Shape)、肤色(Skin)、微笑(Smile)等人脸属性信息。  若 FaceAttributesType 没有输入相关类型,则FaceDetaiAttributesInfo返回的细项不具备参考意义。 * @method void setFaceDetailAttributesInfo(FaceDetailAttributesInfo $FaceDetailAttributesInfo) 设置人脸属性信息,根据 FaceAttributesType 输入的类型,返回年龄(Age)、颜值(Beauty) 情绪(Emotion)、眼睛信息(Eye)、眉毛(Eyebrow)、性别(Gender) 头发(Hair)、帽子(Hat)、姿态(Headpose)、口罩(Mask)、嘴巴(Mouse)、胡子(Moustache) 鼻子(Nose)、脸型(Shape)、肤色(Skin)、微笑(Smile)等人脸属性信息。  若 FaceAttributesType 没有输入相关类型,则FaceDetaiAttributesInfo返回的细项不具备参考意义。 */class FaceDetailInfo extends AbstractModel{    /**     * @var FaceRect 检测出的人脸框位置。     */    public $FaceRect;    /**     * @var FaceDetailAttributesInfo 人脸属性信息,根据 FaceAttributesType 输入的类型,返回年龄(Age)、颜值(Beauty) 情绪(Emotion)、眼睛信息(Eye)、眉毛(Eyebrow)、性别(Gender) 头发(Hair)、帽子(Hat)、姿态(Headpose)、口罩(Mask)、嘴巴(Mouse)、胡子(Moustache) 鼻子(Nose)、脸型(Shape)、肤色(Skin)、微笑(Smile)等人脸属性信息。  若 FaceAttributesType 没有输入相关类型,则FaceDetaiAttributesInfo返回的细项不具备参考意义。     */    public $FaceDetailAttributesInfo;    /**     * @param FaceRect $FaceRect 检测出的人脸框位置。     * @param FaceDetailAttributesInfo $FaceDetailAttributesInfo 人脸属性信息,根据 FaceAttributesType 输入的类型,返回年龄(Age)、颜值(Beauty) 情绪(Emotion)、眼睛信息(Eye)、眉毛(Eyebrow)、性别(Gender) 头发(Hair)、帽子(Hat)、姿态(Headpose)、口罩(Mask)、嘴巴(Mouse)、胡子(Moustache) 鼻子(Nose)、脸型(Shape)、肤色(Skin)、微笑(Smile)等人脸属性信息。  若 FaceAttributesType 没有输入相关类型,则FaceDetaiAttributesInfo返回的细项不具备参考意义。     */    function __construct()    {    }    /**     * For internal only. DO NOT USE IT.     */    public function deserialize($param)    {        if ($param === null) {            return;        }        if (array_key_exists("FaceRect",$param) and $param["FaceRect"] !== null) {            $this->FaceRect = new FaceRect();            $this->FaceRect->deserialize($param["FaceRect"]);        }        if (array_key_exists("FaceDetailAttributesInfo",$param) and $param["FaceDetailAttributesInfo"] !== null) {            $this->FaceDetailAttributesInfo = new FaceDetailAttributesInfo();            $this->FaceDetailAttributesInfo->deserialize($param["FaceDetailAttributesInfo"]);        }    }}
 |