1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18class Google_Service_Vision_FaceAnnotation extends Google_Collection 19{ 20 protected $collection_key = 'landmarks'; 21 public $angerLikelihood; 22 public $blurredLikelihood; 23 protected $boundingPolyType = 'Google_Service_Vision_BoundingPoly'; 24 protected $boundingPolyDataType = ''; 25 public $detectionConfidence; 26 protected $fdBoundingPolyType = 'Google_Service_Vision_BoundingPoly'; 27 protected $fdBoundingPolyDataType = ''; 28 public $headwearLikelihood; 29 public $joyLikelihood; 30 public $landmarkingConfidence; 31 protected $landmarksType = 'Google_Service_Vision_Landmark'; 32 protected $landmarksDataType = 'array'; 33 public $panAngle; 34 public $rollAngle; 35 public $sorrowLikelihood; 36 public $surpriseLikelihood; 37 public $tiltAngle; 38 public $underExposedLikelihood; 39 40 public function setAngerLikelihood($angerLikelihood) 41 { 42 $this->angerLikelihood = $angerLikelihood; 43 } 44 public function getAngerLikelihood() 45 { 46 return $this->angerLikelihood; 47 } 48 public function setBlurredLikelihood($blurredLikelihood) 49 { 50 $this->blurredLikelihood = $blurredLikelihood; 51 } 52 public function getBlurredLikelihood() 53 { 54 return $this->blurredLikelihood; 55 } 56 /** 57 * @param Google_Service_Vision_BoundingPoly 58 */ 59 public function setBoundingPoly(Google_Service_Vision_BoundingPoly $boundingPoly) 60 { 61 $this->boundingPoly = $boundingPoly; 62 } 63 /** 64 * @return Google_Service_Vision_BoundingPoly 65 */ 66 public function getBoundingPoly() 67 { 68 return $this->boundingPoly; 69 } 70 public function setDetectionConfidence($detectionConfidence) 71 { 72 $this->detectionConfidence = $detectionConfidence; 73 } 74 public function getDetectionConfidence() 75 { 76 return $this->detectionConfidence; 77 } 78 /** 79 * @param Google_Service_Vision_BoundingPoly 80 */ 81 public function setFdBoundingPoly(Google_Service_Vision_BoundingPoly $fdBoundingPoly) 82 { 83 $this->fdBoundingPoly = $fdBoundingPoly; 84 } 85 /** 86 * @return Google_Service_Vision_BoundingPoly 87 */ 88 public function getFdBoundingPoly() 89 { 90 return $this->fdBoundingPoly; 91 } 92 public function setHeadwearLikelihood($headwearLikelihood) 93 { 94 $this->headwearLikelihood = $headwearLikelihood; 95 } 96 public function getHeadwearLikelihood() 97 { 98 return $this->headwearLikelihood; 99 } 100 public function setJoyLikelihood($joyLikelihood) 101 { 102 $this->joyLikelihood = $joyLikelihood; 103 } 104 public function getJoyLikelihood() 105 { 106 return $this->joyLikelihood; 107 } 108 public function setLandmarkingConfidence($landmarkingConfidence) 109 { 110 $this->landmarkingConfidence = $landmarkingConfidence; 111 } 112 public function getLandmarkingConfidence() 113 { 114 return $this->landmarkingConfidence; 115 } 116 /** 117 * @param Google_Service_Vision_Landmark 118 */ 119 public function setLandmarks($landmarks) 120 { 121 $this->landmarks = $landmarks; 122 } 123 /** 124 * @return Google_Service_Vision_Landmark 125 */ 126 public function getLandmarks() 127 { 128 return $this->landmarks; 129 } 130 public function setPanAngle($panAngle) 131 { 132 $this->panAngle = $panAngle; 133 } 134 public function getPanAngle() 135 { 136 return $this->panAngle; 137 } 138 public function setRollAngle($rollAngle) 139 { 140 $this->rollAngle = $rollAngle; 141 } 142 public function getRollAngle() 143 { 144 return $this->rollAngle; 145 } 146 public function setSorrowLikelihood($sorrowLikelihood) 147 { 148 $this->sorrowLikelihood = $sorrowLikelihood; 149 } 150 public function getSorrowLikelihood() 151 { 152 return $this->sorrowLikelihood; 153 } 154 public function setSurpriseLikelihood($surpriseLikelihood) 155 { 156 $this->surpriseLikelihood = $surpriseLikelihood; 157 } 158 public function getSurpriseLikelihood() 159 { 160 return $this->surpriseLikelihood; 161 } 162 public function setTiltAngle($tiltAngle) 163 { 164 $this->tiltAngle = $tiltAngle; 165 } 166 public function getTiltAngle() 167 { 168 return $this->tiltAngle; 169 } 170 public function setUnderExposedLikelihood($underExposedLikelihood) 171 { 172 $this->underExposedLikelihood = $underExposedLikelihood; 173 } 174 public function getUnderExposedLikelihood() 175 { 176 return $this->underExposedLikelihood; 177 } 178} 179