[e3d4e0a] | 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 |
|
---|
| 18 | namespace Google\Service\Vision;
|
---|
| 19 |
|
---|
| 20 | class GoogleCloudVisionV1p4beta1FaceAnnotation extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'recognitionResult';
|
---|
| 23 | /**
|
---|
| 24 | * @var string
|
---|
| 25 | */
|
---|
| 26 | public $angerLikelihood;
|
---|
| 27 | /**
|
---|
| 28 | * @var string
|
---|
| 29 | */
|
---|
| 30 | public $blurredLikelihood;
|
---|
| 31 | protected $boundingPolyType = GoogleCloudVisionV1p4beta1BoundingPoly::class;
|
---|
| 32 | protected $boundingPolyDataType = '';
|
---|
| 33 | /**
|
---|
| 34 | * @var float
|
---|
| 35 | */
|
---|
| 36 | public $detectionConfidence;
|
---|
| 37 | protected $fdBoundingPolyType = GoogleCloudVisionV1p4beta1BoundingPoly::class;
|
---|
| 38 | protected $fdBoundingPolyDataType = '';
|
---|
| 39 | /**
|
---|
| 40 | * @var string
|
---|
| 41 | */
|
---|
| 42 | public $headwearLikelihood;
|
---|
| 43 | /**
|
---|
| 44 | * @var string
|
---|
| 45 | */
|
---|
| 46 | public $joyLikelihood;
|
---|
| 47 | /**
|
---|
| 48 | * @var float
|
---|
| 49 | */
|
---|
| 50 | public $landmarkingConfidence;
|
---|
| 51 | protected $landmarksType = GoogleCloudVisionV1p4beta1FaceAnnotationLandmark::class;
|
---|
| 52 | protected $landmarksDataType = 'array';
|
---|
| 53 | /**
|
---|
| 54 | * @var float
|
---|
| 55 | */
|
---|
| 56 | public $panAngle;
|
---|
| 57 | protected $recognitionResultType = GoogleCloudVisionV1p4beta1FaceRecognitionResult::class;
|
---|
| 58 | protected $recognitionResultDataType = 'array';
|
---|
| 59 | /**
|
---|
| 60 | * @var float
|
---|
| 61 | */
|
---|
| 62 | public $rollAngle;
|
---|
| 63 | /**
|
---|
| 64 | * @var string
|
---|
| 65 | */
|
---|
| 66 | public $sorrowLikelihood;
|
---|
| 67 | /**
|
---|
| 68 | * @var string
|
---|
| 69 | */
|
---|
| 70 | public $surpriseLikelihood;
|
---|
| 71 | /**
|
---|
| 72 | * @var float
|
---|
| 73 | */
|
---|
| 74 | public $tiltAngle;
|
---|
| 75 | /**
|
---|
| 76 | * @var string
|
---|
| 77 | */
|
---|
| 78 | public $underExposedLikelihood;
|
---|
| 79 |
|
---|
| 80 | /**
|
---|
| 81 | * @param string
|
---|
| 82 | */
|
---|
| 83 | public function setAngerLikelihood($angerLikelihood)
|
---|
| 84 | {
|
---|
| 85 | $this->angerLikelihood = $angerLikelihood;
|
---|
| 86 | }
|
---|
| 87 | /**
|
---|
| 88 | * @return string
|
---|
| 89 | */
|
---|
| 90 | public function getAngerLikelihood()
|
---|
| 91 | {
|
---|
| 92 | return $this->angerLikelihood;
|
---|
| 93 | }
|
---|
| 94 | /**
|
---|
| 95 | * @param string
|
---|
| 96 | */
|
---|
| 97 | public function setBlurredLikelihood($blurredLikelihood)
|
---|
| 98 | {
|
---|
| 99 | $this->blurredLikelihood = $blurredLikelihood;
|
---|
| 100 | }
|
---|
| 101 | /**
|
---|
| 102 | * @return string
|
---|
| 103 | */
|
---|
| 104 | public function getBlurredLikelihood()
|
---|
| 105 | {
|
---|
| 106 | return $this->blurredLikelihood;
|
---|
| 107 | }
|
---|
| 108 | /**
|
---|
| 109 | * @param GoogleCloudVisionV1p4beta1BoundingPoly
|
---|
| 110 | */
|
---|
| 111 | public function setBoundingPoly(GoogleCloudVisionV1p4beta1BoundingPoly $boundingPoly)
|
---|
| 112 | {
|
---|
| 113 | $this->boundingPoly = $boundingPoly;
|
---|
| 114 | }
|
---|
| 115 | /**
|
---|
| 116 | * @return GoogleCloudVisionV1p4beta1BoundingPoly
|
---|
| 117 | */
|
---|
| 118 | public function getBoundingPoly()
|
---|
| 119 | {
|
---|
| 120 | return $this->boundingPoly;
|
---|
| 121 | }
|
---|
| 122 | /**
|
---|
| 123 | * @param float
|
---|
| 124 | */
|
---|
| 125 | public function setDetectionConfidence($detectionConfidence)
|
---|
| 126 | {
|
---|
| 127 | $this->detectionConfidence = $detectionConfidence;
|
---|
| 128 | }
|
---|
| 129 | /**
|
---|
| 130 | * @return float
|
---|
| 131 | */
|
---|
| 132 | public function getDetectionConfidence()
|
---|
| 133 | {
|
---|
| 134 | return $this->detectionConfidence;
|
---|
| 135 | }
|
---|
| 136 | /**
|
---|
| 137 | * @param GoogleCloudVisionV1p4beta1BoundingPoly
|
---|
| 138 | */
|
---|
| 139 | public function setFdBoundingPoly(GoogleCloudVisionV1p4beta1BoundingPoly $fdBoundingPoly)
|
---|
| 140 | {
|
---|
| 141 | $this->fdBoundingPoly = $fdBoundingPoly;
|
---|
| 142 | }
|
---|
| 143 | /**
|
---|
| 144 | * @return GoogleCloudVisionV1p4beta1BoundingPoly
|
---|
| 145 | */
|
---|
| 146 | public function getFdBoundingPoly()
|
---|
| 147 | {
|
---|
| 148 | return $this->fdBoundingPoly;
|
---|
| 149 | }
|
---|
| 150 | /**
|
---|
| 151 | * @param string
|
---|
| 152 | */
|
---|
| 153 | public function setHeadwearLikelihood($headwearLikelihood)
|
---|
| 154 | {
|
---|
| 155 | $this->headwearLikelihood = $headwearLikelihood;
|
---|
| 156 | }
|
---|
| 157 | /**
|
---|
| 158 | * @return string
|
---|
| 159 | */
|
---|
| 160 | public function getHeadwearLikelihood()
|
---|
| 161 | {
|
---|
| 162 | return $this->headwearLikelihood;
|
---|
| 163 | }
|
---|
| 164 | /**
|
---|
| 165 | * @param string
|
---|
| 166 | */
|
---|
| 167 | public function setJoyLikelihood($joyLikelihood)
|
---|
| 168 | {
|
---|
| 169 | $this->joyLikelihood = $joyLikelihood;
|
---|
| 170 | }
|
---|
| 171 | /**
|
---|
| 172 | * @return string
|
---|
| 173 | */
|
---|
| 174 | public function getJoyLikelihood()
|
---|
| 175 | {
|
---|
| 176 | return $this->joyLikelihood;
|
---|
| 177 | }
|
---|
| 178 | /**
|
---|
| 179 | * @param float
|
---|
| 180 | */
|
---|
| 181 | public function setLandmarkingConfidence($landmarkingConfidence)
|
---|
| 182 | {
|
---|
| 183 | $this->landmarkingConfidence = $landmarkingConfidence;
|
---|
| 184 | }
|
---|
| 185 | /**
|
---|
| 186 | * @return float
|
---|
| 187 | */
|
---|
| 188 | public function getLandmarkingConfidence()
|
---|
| 189 | {
|
---|
| 190 | return $this->landmarkingConfidence;
|
---|
| 191 | }
|
---|
| 192 | /**
|
---|
| 193 | * @param GoogleCloudVisionV1p4beta1FaceAnnotationLandmark[]
|
---|
| 194 | */
|
---|
| 195 | public function setLandmarks($landmarks)
|
---|
| 196 | {
|
---|
| 197 | $this->landmarks = $landmarks;
|
---|
| 198 | }
|
---|
| 199 | /**
|
---|
| 200 | * @return GoogleCloudVisionV1p4beta1FaceAnnotationLandmark[]
|
---|
| 201 | */
|
---|
| 202 | public function getLandmarks()
|
---|
| 203 | {
|
---|
| 204 | return $this->landmarks;
|
---|
| 205 | }
|
---|
| 206 | /**
|
---|
| 207 | * @param float
|
---|
| 208 | */
|
---|
| 209 | public function setPanAngle($panAngle)
|
---|
| 210 | {
|
---|
| 211 | $this->panAngle = $panAngle;
|
---|
| 212 | }
|
---|
| 213 | /**
|
---|
| 214 | * @return float
|
---|
| 215 | */
|
---|
| 216 | public function getPanAngle()
|
---|
| 217 | {
|
---|
| 218 | return $this->panAngle;
|
---|
| 219 | }
|
---|
| 220 | /**
|
---|
| 221 | * @param GoogleCloudVisionV1p4beta1FaceRecognitionResult[]
|
---|
| 222 | */
|
---|
| 223 | public function setRecognitionResult($recognitionResult)
|
---|
| 224 | {
|
---|
| 225 | $this->recognitionResult = $recognitionResult;
|
---|
| 226 | }
|
---|
| 227 | /**
|
---|
| 228 | * @return GoogleCloudVisionV1p4beta1FaceRecognitionResult[]
|
---|
| 229 | */
|
---|
| 230 | public function getRecognitionResult()
|
---|
| 231 | {
|
---|
| 232 | return $this->recognitionResult;
|
---|
| 233 | }
|
---|
| 234 | /**
|
---|
| 235 | * @param float
|
---|
| 236 | */
|
---|
| 237 | public function setRollAngle($rollAngle)
|
---|
| 238 | {
|
---|
| 239 | $this->rollAngle = $rollAngle;
|
---|
| 240 | }
|
---|
| 241 | /**
|
---|
| 242 | * @return float
|
---|
| 243 | */
|
---|
| 244 | public function getRollAngle()
|
---|
| 245 | {
|
---|
| 246 | return $this->rollAngle;
|
---|
| 247 | }
|
---|
| 248 | /**
|
---|
| 249 | * @param string
|
---|
| 250 | */
|
---|
| 251 | public function setSorrowLikelihood($sorrowLikelihood)
|
---|
| 252 | {
|
---|
| 253 | $this->sorrowLikelihood = $sorrowLikelihood;
|
---|
| 254 | }
|
---|
| 255 | /**
|
---|
| 256 | * @return string
|
---|
| 257 | */
|
---|
| 258 | public function getSorrowLikelihood()
|
---|
| 259 | {
|
---|
| 260 | return $this->sorrowLikelihood;
|
---|
| 261 | }
|
---|
| 262 | /**
|
---|
| 263 | * @param string
|
---|
| 264 | */
|
---|
| 265 | public function setSurpriseLikelihood($surpriseLikelihood)
|
---|
| 266 | {
|
---|
| 267 | $this->surpriseLikelihood = $surpriseLikelihood;
|
---|
| 268 | }
|
---|
| 269 | /**
|
---|
| 270 | * @return string
|
---|
| 271 | */
|
---|
| 272 | public function getSurpriseLikelihood()
|
---|
| 273 | {
|
---|
| 274 | return $this->surpriseLikelihood;
|
---|
| 275 | }
|
---|
| 276 | /**
|
---|
| 277 | * @param float
|
---|
| 278 | */
|
---|
| 279 | public function setTiltAngle($tiltAngle)
|
---|
| 280 | {
|
---|
| 281 | $this->tiltAngle = $tiltAngle;
|
---|
| 282 | }
|
---|
| 283 | /**
|
---|
| 284 | * @return float
|
---|
| 285 | */
|
---|
| 286 | public function getTiltAngle()
|
---|
| 287 | {
|
---|
| 288 | return $this->tiltAngle;
|
---|
| 289 | }
|
---|
| 290 | /**
|
---|
| 291 | * @param string
|
---|
| 292 | */
|
---|
| 293 | public function setUnderExposedLikelihood($underExposedLikelihood)
|
---|
| 294 | {
|
---|
| 295 | $this->underExposedLikelihood = $underExposedLikelihood;
|
---|
| 296 | }
|
---|
| 297 | /**
|
---|
| 298 | * @return string
|
---|
| 299 | */
|
---|
| 300 | public function getUnderExposedLikelihood()
|
---|
| 301 | {
|
---|
| 302 | return $this->underExposedLikelihood;
|
---|
| 303 | }
|
---|
| 304 | }
|
---|
| 305 |
|
---|
| 306 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 307 | class_alias(GoogleCloudVisionV1p4beta1FaceAnnotation::class, 'Google_Service_Vision_GoogleCloudVisionV1p4beta1FaceAnnotation');
|
---|