[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\CloudNaturalLanguage;
|
---|
| 19 |
|
---|
| 20 | class XPSVideoObjectTrackingEvaluationMetrics extends \Google\Collection
|
---|
| 21 | {
|
---|
| 22 | protected $collection_key = 'trackMetricsEntries';
|
---|
| 23 | /**
|
---|
| 24 | * @var float
|
---|
| 25 | */
|
---|
| 26 | public $boundingBoxMeanAveragePrecision;
|
---|
| 27 | protected $boundingBoxMetricsEntriesType = XPSBoundingBoxMetricsEntry::class;
|
---|
| 28 | protected $boundingBoxMetricsEntriesDataType = 'array';
|
---|
| 29 | /**
|
---|
| 30 | * @var int
|
---|
| 31 | */
|
---|
| 32 | public $evaluatedBoundingboxCount;
|
---|
| 33 | /**
|
---|
| 34 | * @var int
|
---|
| 35 | */
|
---|
| 36 | public $evaluatedFrameCount;
|
---|
| 37 | /**
|
---|
| 38 | * @var int
|
---|
| 39 | */
|
---|
| 40 | public $evaluatedTrackCount;
|
---|
| 41 | /**
|
---|
| 42 | * @var float
|
---|
| 43 | */
|
---|
| 44 | public $trackMeanAveragePrecision;
|
---|
| 45 | /**
|
---|
| 46 | * @var float
|
---|
| 47 | */
|
---|
| 48 | public $trackMeanBoundingBoxIou;
|
---|
| 49 | /**
|
---|
| 50 | * @var float
|
---|
| 51 | */
|
---|
| 52 | public $trackMeanMismatchRate;
|
---|
| 53 | protected $trackMetricsEntriesType = XPSTrackMetricsEntry::class;
|
---|
| 54 | protected $trackMetricsEntriesDataType = 'array';
|
---|
| 55 |
|
---|
| 56 | /**
|
---|
| 57 | * @param float
|
---|
| 58 | */
|
---|
| 59 | public function setBoundingBoxMeanAveragePrecision($boundingBoxMeanAveragePrecision)
|
---|
| 60 | {
|
---|
| 61 | $this->boundingBoxMeanAveragePrecision = $boundingBoxMeanAveragePrecision;
|
---|
| 62 | }
|
---|
| 63 | /**
|
---|
| 64 | * @return float
|
---|
| 65 | */
|
---|
| 66 | public function getBoundingBoxMeanAveragePrecision()
|
---|
| 67 | {
|
---|
| 68 | return $this->boundingBoxMeanAveragePrecision;
|
---|
| 69 | }
|
---|
| 70 | /**
|
---|
| 71 | * @param XPSBoundingBoxMetricsEntry[]
|
---|
| 72 | */
|
---|
| 73 | public function setBoundingBoxMetricsEntries($boundingBoxMetricsEntries)
|
---|
| 74 | {
|
---|
| 75 | $this->boundingBoxMetricsEntries = $boundingBoxMetricsEntries;
|
---|
| 76 | }
|
---|
| 77 | /**
|
---|
| 78 | * @return XPSBoundingBoxMetricsEntry[]
|
---|
| 79 | */
|
---|
| 80 | public function getBoundingBoxMetricsEntries()
|
---|
| 81 | {
|
---|
| 82 | return $this->boundingBoxMetricsEntries;
|
---|
| 83 | }
|
---|
| 84 | /**
|
---|
| 85 | * @param int
|
---|
| 86 | */
|
---|
| 87 | public function setEvaluatedBoundingboxCount($evaluatedBoundingboxCount)
|
---|
| 88 | {
|
---|
| 89 | $this->evaluatedBoundingboxCount = $evaluatedBoundingboxCount;
|
---|
| 90 | }
|
---|
| 91 | /**
|
---|
| 92 | * @return int
|
---|
| 93 | */
|
---|
| 94 | public function getEvaluatedBoundingboxCount()
|
---|
| 95 | {
|
---|
| 96 | return $this->evaluatedBoundingboxCount;
|
---|
| 97 | }
|
---|
| 98 | /**
|
---|
| 99 | * @param int
|
---|
| 100 | */
|
---|
| 101 | public function setEvaluatedFrameCount($evaluatedFrameCount)
|
---|
| 102 | {
|
---|
| 103 | $this->evaluatedFrameCount = $evaluatedFrameCount;
|
---|
| 104 | }
|
---|
| 105 | /**
|
---|
| 106 | * @return int
|
---|
| 107 | */
|
---|
| 108 | public function getEvaluatedFrameCount()
|
---|
| 109 | {
|
---|
| 110 | return $this->evaluatedFrameCount;
|
---|
| 111 | }
|
---|
| 112 | /**
|
---|
| 113 | * @param int
|
---|
| 114 | */
|
---|
| 115 | public function setEvaluatedTrackCount($evaluatedTrackCount)
|
---|
| 116 | {
|
---|
| 117 | $this->evaluatedTrackCount = $evaluatedTrackCount;
|
---|
| 118 | }
|
---|
| 119 | /**
|
---|
| 120 | * @return int
|
---|
| 121 | */
|
---|
| 122 | public function getEvaluatedTrackCount()
|
---|
| 123 | {
|
---|
| 124 | return $this->evaluatedTrackCount;
|
---|
| 125 | }
|
---|
| 126 | /**
|
---|
| 127 | * @param float
|
---|
| 128 | */
|
---|
| 129 | public function setTrackMeanAveragePrecision($trackMeanAveragePrecision)
|
---|
| 130 | {
|
---|
| 131 | $this->trackMeanAveragePrecision = $trackMeanAveragePrecision;
|
---|
| 132 | }
|
---|
| 133 | /**
|
---|
| 134 | * @return float
|
---|
| 135 | */
|
---|
| 136 | public function getTrackMeanAveragePrecision()
|
---|
| 137 | {
|
---|
| 138 | return $this->trackMeanAveragePrecision;
|
---|
| 139 | }
|
---|
| 140 | /**
|
---|
| 141 | * @param float
|
---|
| 142 | */
|
---|
| 143 | public function setTrackMeanBoundingBoxIou($trackMeanBoundingBoxIou)
|
---|
| 144 | {
|
---|
| 145 | $this->trackMeanBoundingBoxIou = $trackMeanBoundingBoxIou;
|
---|
| 146 | }
|
---|
| 147 | /**
|
---|
| 148 | * @return float
|
---|
| 149 | */
|
---|
| 150 | public function getTrackMeanBoundingBoxIou()
|
---|
| 151 | {
|
---|
| 152 | return $this->trackMeanBoundingBoxIou;
|
---|
| 153 | }
|
---|
| 154 | /**
|
---|
| 155 | * @param float
|
---|
| 156 | */
|
---|
| 157 | public function setTrackMeanMismatchRate($trackMeanMismatchRate)
|
---|
| 158 | {
|
---|
| 159 | $this->trackMeanMismatchRate = $trackMeanMismatchRate;
|
---|
| 160 | }
|
---|
| 161 | /**
|
---|
| 162 | * @return float
|
---|
| 163 | */
|
---|
| 164 | public function getTrackMeanMismatchRate()
|
---|
| 165 | {
|
---|
| 166 | return $this->trackMeanMismatchRate;
|
---|
| 167 | }
|
---|
| 168 | /**
|
---|
| 169 | * @param XPSTrackMetricsEntry[]
|
---|
| 170 | */
|
---|
| 171 | public function setTrackMetricsEntries($trackMetricsEntries)
|
---|
| 172 | {
|
---|
| 173 | $this->trackMetricsEntries = $trackMetricsEntries;
|
---|
| 174 | }
|
---|
| 175 | /**
|
---|
| 176 | * @return XPSTrackMetricsEntry[]
|
---|
| 177 | */
|
---|
| 178 | public function getTrackMetricsEntries()
|
---|
| 179 | {
|
---|
| 180 | return $this->trackMetricsEntries;
|
---|
| 181 | }
|
---|
| 182 | }
|
---|
| 183 |
|
---|
| 184 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 185 | class_alias(XPSVideoObjectTrackingEvaluationMetrics::class, 'Google_Service_CloudNaturalLanguage_XPSVideoObjectTrackingEvaluationMetrics');
|
---|