diff options
| author | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-13 10:54:11 +0800 |
| commit | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch) | |
| tree | 0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/objectdet/2019-12-30 | |
| download | acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.tar.gz acs-metadata-full-7347bac4ab7e136157fc94777e6cf87ef9e08599.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/en_us/objectdet/2019-12-30')
| -rw-r--r-- | data/en_us/objectdet/2019-12-30/api-docs.php | 1657 |
1 files changed, 1657 insertions, 0 deletions
diff --git a/data/en_us/objectdet/2019-12-30/api-docs.php b/data/en_us/objectdet/2019-12-30/api-docs.php new file mode 100644 index 0000000..3b1b933 --- /dev/null +++ b/data/en_us/objectdet/2019-12-30/api-docs.php @@ -0,0 +1,1657 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'objectdet', + 'version' => '2019-12-30', + ], + 'directories' => [ + [ + 'id' => 114562, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'DetectVehicleICongestion', + 'DetectVehicleIllegalParking', + ], + ], + [ + 'id' => 114557, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'DetectMainBody', + 'DetectWhiteBaseImage', + 'DetectObject', + 'DetectIPCObject', + 'DetectVideoIPCObject', + 'DetectWorkwear', + 'DetectKitchenAnimals', + ], + ], + [ + 'id' => 114576, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'GetAsyncJobResult', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'DetectVehicleICongestion' => [ + 'summary' => '车辆拥堵检测', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/objectdet/DetectVehicleICongestion/DetectVehicleICongestion1.jpg', + 'isFileTransferUrl' => true, + 'maxItems' => 1, + 'minItems' => 20, + 'required' => true, + 'title' => 'A short description of struct', + 'type' => 'string', + ], + ], + [ + 'name' => 'RoadRegions', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'RoadRegion' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'Point' => [ + 'description' => '', + 'properties' => [ + 'X' => [ + 'description' => '', + 'example' => '400', + 'format' => 'int64', + 'required' => true, + 'type' => 'integer', + ], + 'Y' => [ + 'description' => '', + 'example' => '400', + 'format' => 'int64', + 'required' => true, + 'type' => 'integer', + ], + ], + 'required' => true, + 'type' => 'object', + ], + ], + 'required' => false, + 'type' => 'object', + ], + 'required' => true, + 'type' => 'array', + ], + ], + 'required' => false, + 'type' => 'object', + ], + 'required' => true, + 'type' => 'array', + ], + ], + [ + 'name' => 'PreRegionIntersectFeatures', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'Features' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'example' => 'AEAMQQAAAA****ABhC', + 'required' => false, + 'type' => 'string', + ], + 'required' => false, + 'type' => 'array', + ], + ], + 'required' => false, + 'type' => 'object', + ], + 'required' => false, + 'type' => 'array', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Schema of Response', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => '4FC381BB-04F2-50F4-B54B-593042BCF3C6', + 'title' => 'Id of the request', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Elements' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'Boxes' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'Left' => [ + 'description' => '', + 'example' => '341', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Top' => [ + 'description' => '', + 'example' => '434', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Right' => [ + 'description' => '', + 'example' => '589', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Bottom' => [ + 'description' => '', + 'example' => '576', + 'format' => 'int64', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'Score' => [ + 'description' => '', + 'example' => '0.962890625', + 'format' => 'float', + 'type' => 'number', + ], + 'TypeName' => [ + 'description' => '', + 'example' => 'vehicle', + 'type' => 'string', + ], + 'Id' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int64', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'RegionIntersectFeatures' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'Features' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'example' => 'AEAMQQAAAA****ABhC', + 'type' => 'string', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'RegionIntersectMatched' => [ + 'description' => '', + 'items' => [ + 'description' => '1', + 'properties' => [ + 'Ids' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'example' => '[-1,-1,-1]', + 'format' => 'int64', + 'type' => 'integer', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'RegionIntersects' => [ + 'description' => '', + 'items' => [ + 'description' => '1', + 'properties' => [ + 'Ids' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'example' => '[1,2,3]', + 'format' => 'int64', + 'type' => 'integer', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + ], + 'title' => 'Schema of Response', + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"4FC381BB-04F2-50F4-B54B-593042BCF3C6\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"Boxes\\": [\\n {\\n \\"Left\\": 341,\\n \\"Top\\": 434,\\n \\"Right\\": 589,\\n \\"Bottom\\": 576\\n }\\n ],\\n \\"Score\\": 0.962890625,\\n \\"TypeName\\": \\"vehicle\\",\\n \\"Id\\": 1\\n }\\n ],\\n \\"RegionIntersectFeatures\\": [\\n {\\n \\"Features\\": [\\n \\"AEAMQQAAAA****ABhC\\"\\n ]\\n }\\n ],\\n \\"RegionIntersectMatched\\": [\\n {\\n \\"Ids\\": [\\n 0\\n ]\\n }\\n ],\\n \\"RegionIntersects\\": [\\n {\\n \\"Ids\\": [\\n 0\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DetectVehicleICongestionResponse>\\n <RequestId>4FC381BB-04F2-50F4-B54B-593042BCF3C6</RequestId>\\n <Data>\\n <RegionIntersectFeatures>\\n <Features>AOAQQQBA****FRD</Features>\\n <Features>AEAMQQAA****KRC</Features>\\n <Features>AEAMQQAA****BhC</Features>\\n </RegionIntersectFeatures>\\n <RegionIntersects>\\n <Ids>1</Ids>\\n <Ids>2</Ids>\\n <Ids>3</Ids>\\n </RegionIntersects>\\n <Elements>\\n <Score>0.962890625</Score>\\n <TypeName>vehicle</TypeName>\\n <Id>0</Id>\\n <Boxes>\\n <Left>341</Left>\\n <Top>434</Top>\\n <Right>589</Right>\\n <Bottom>576</Bottom>\\n </Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.9619140625</Score>\\n <TypeName>vehicle</TypeName>\\n <Id>1</Id>\\n <Boxes>\\n <Left>304</Left>\\n <Top>228</Top>\\n <Right>525</Right>\\n <Bottom>440</Bottom>\\n </Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.83203125</Score>\\n <TypeName>vehicle</TypeName>\\n <Id>2</Id>\\n <Boxes>\\n <Left>0</Left>\\n <Top>24</Top>\\n <Right>68</Right>\\n <Bottom>106</Bottom>\\n </Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.53125</Score>\\n <TypeName>vehicle</TypeName>\\n <Id>3</Id>\\n <Boxes>\\n <Left>0</Left>\\n <Top>0</Top>\\n <Right>58</Right>\\n <Bottom>38</Bottom>\\n </Boxes>\\n </Elements>\\n <RegionIntersectMatched>\\n <Ids>-1</Ids>\\n <Ids>-1</Ids>\\n <Ids>-1</Ids>\\n </RegionIntersectMatched>\\n </Data>\\n</DetectVehicleICongestionResponse>","errorExample":""}]', + ], + 'DetectVehicleIllegalParking' => [ + 'summary' => '车辆违停检测', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/objectdet/DetectVehicleIllegalParking/DetectVehicleIllegalParking2.jpg', + 'isFileTransferUrl' => true, + 'maxItems' => 1, + 'minItems' => 20, + 'required' => true, + 'title' => 'A short description of struct', + 'type' => 'string', + ], + ], + [ + 'name' => 'RoadRegions', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'RoadRegion' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'Point' => [ + 'description' => '', + 'properties' => [ + 'X' => [ + 'description' => '', + 'example' => '400', + 'format' => 'int64', + 'required' => true, + 'type' => 'integer', + ], + 'Y' => [ + 'description' => '', + 'example' => '400', + 'format' => 'int64', + 'required' => true, + 'type' => 'integer', + ], + ], + 'required' => true, + 'type' => 'object', + ], + ], + 'required' => false, + 'type' => 'object', + ], + 'required' => true, + 'type' => 'array', + ], + ], + 'required' => false, + 'type' => 'object', + ], + 'required' => true, + 'type' => 'array', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Schema of Response', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => 'DB882EDD-991A-5A0C-A19B-CC7C4BA65E35', + 'title' => 'Id of the request', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Elements' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'Boxes' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'Left' => [ + 'description' => '', + 'example' => '413', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Top' => [ + 'description' => '', + 'example' => '138', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Right' => [ + 'description' => '', + 'example' => '499', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Bottom' => [ + 'description' => '', + 'example' => '268', + 'format' => 'int64', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'Score' => [ + 'description' => '', + 'example' => '0.9599609375', + 'format' => 'float', + 'type' => 'number', + ], + 'TypeName' => [ + 'description' => '', + 'example' => 'vehicle', + 'type' => 'string', + ], + 'Id' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int64', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'RegionIntersects' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'Ids' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'example' => '[1,2,3]', + 'format' => 'int64', + 'type' => 'integer', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + ], + 'title' => 'Schema of Response', + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"DB882EDD-991A-5A0C-A19B-CC7C4BA65E35\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"Boxes\\": [\\n {\\n \\"Left\\": 413,\\n \\"Top\\": 138,\\n \\"Right\\": 499,\\n \\"Bottom\\": 268\\n }\\n ],\\n \\"Score\\": 0.9599609375,\\n \\"TypeName\\": \\"vehicle\\",\\n \\"Id\\": 1\\n }\\n ],\\n \\"RegionIntersects\\": [\\n {\\n \\"Ids\\": [\\n 0\\n ]\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DetectVehicleIllegalParkingResponse>\\n <RequestId>DB882EDD-991A-5A0C-A19B-CC7C4BA65E35</RequestId>\\n <Data>\\n <RegionIntersects>\\n <Ids>1</Ids>\\n <Ids>2</Ids>\\n <Ids>3</Ids>\\n <Ids>4</Ids>\\n <Ids>5</Ids>\\n <Ids>6</Ids>\\n <Ids>7</Ids>\\n <Ids>8</Ids>\\n <Ids>10</Ids>\\n <Ids>11</Ids>\\n </RegionIntersects>\\n <Elements>\\n <Score>0.9599609375</Score>\\n <TypeName>vehicle</TypeName>\\n <Id>0</Id>\\n <Boxes>\\n <Left>413</Left>\\n <Top>138</Top>\\n <Right>499</Right>\\n <Bottom>268</Bottom>\\n </Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.95751953125</Score>\\n <TypeName>vehicle</TypeName>\\n <Id>1</Id>\\n <Boxes>\\n <Left>146</Left>\\n <Top>121</Top>\\n <Right>371</Right>\\n <Bottom>284</Bottom>\\n </Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.93310546875</Score>\\n <TypeName>vehicle</TypeName>\\n <Id>2</Id>\\n <Boxes>\\n <Left>54</Left>\\n <Top>92</Top>\\n <Right>164</Right>\\n <Bottom>213</Bottom>\\n </Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.9326171875</Score>\\n <TypeName>vehicle</TypeName>\\n <Id>3</Id>\\n <Boxes>\\n <Left>94</Left>\\n <Top>141</Top>\\n <Right>171</Right>\\n <Bottom>232</Bottom>\\n </Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.9150390625</Score>\\n <TypeName>vehicle</TypeName>\\n <Id>4</Id>\\n <Boxes>\\n <Left>303</Left>\\n <Top>114</Top>\\n <Right>430</Right>\\n <Bottom>195</Bottom>\\n </Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.82080078125</Score>\\n <TypeName>vehicle</TypeName>\\n <Id>5</Id>\\n <Boxes>\\n <Left>14</Left>\\n <Top>134</Top>\\n <Right>32</Right>\\n <Bottom>154</Bottom>\\n </Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.767578125</Score>\\n <TypeName>vehicle</TypeName>\\n <Id>6</Id>\\n <Boxes>\\n <Left>0</Left>\\n <Top>132</Top>\\n <Right>17</Right>\\n <Bottom>151</Bottom>\\n </Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.767578125</Score>\\n <TypeName>vehicle</TypeName>\\n <Id>7</Id>\\n <Boxes>\\n <Left>37</Left>\\n <Top>133</Top>\\n <Right>56</Right>\\n <Bottom>162</Bottom>\\n </Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.765625</Score>\\n <TypeName>vehicle</TypeName>\\n <Id>8</Id>\\n <Boxes>\\n <Left>27</Left>\\n <Top>131</Top>\\n <Right>55</Right>\\n <Bottom>158</Bottom>\\n </Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.75341796875</Score>\\n <TypeName>vehicle</TypeName>\\n <Id>9</Id>\\n <Boxes>\\n <Left>408</Left>\\n <Top>14</Top>\\n <Right>499</Right>\\n <Bottom>143</Bottom>\\n </Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.517578125</Score>\\n <TypeName>vehicle</TypeName>\\n <Id>10</Id>\\n <Boxes>\\n <Left>164</Left>\\n <Top>130</Top>\\n <Right>183</Right>\\n <Bottom>144</Bottom>\\n </Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.355712890625</Score>\\n <TypeName>vehicle</TypeName>\\n <Id>11</Id>\\n <Boxes>\\n <Left>1</Left>\\n <Top>133</Top>\\n <Right>31</Right>\\n <Bottom>153</Bottom>\\n </Boxes>\\n </Elements>\\n </Data>\\n</DetectVehicleIllegalParkingResponse>","errorExample":""}]', + ], + 'DetectMainBody' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/objectdet/DetectMainBody/DetectMainBody1.jpg', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => '2E59C333-5480-4231-A8AB-BEE1001EA7FE', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Location' => [ + 'description' => '', + 'properties' => [ + 'Width' => [ + 'description' => '', + 'example' => '583', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Height' => [ + 'description' => '', + 'example' => '320', + 'format' => 'int32', + 'type' => 'integer', + ], + 'Y' => [ + 'description' => '', + 'example' => '20', + 'format' => 'int32', + 'type' => 'integer', + ], + 'X' => [ + 'description' => '', + 'example' => '28', + 'format' => 'int32', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"2E59C333-5480-4231-A8AB-BEE1001EA7FE\\",\\n \\"Data\\": {\\n \\"Location\\": {\\n \\"Width\\": 583,\\n \\"Height\\": 320,\\n \\"Y\\": 20,\\n \\"X\\": 28\\n }\\n }\\n}","errorExample":""},{"type":"xml","example":"<DetectMainBodyResponse>\\n <RequestId>2E59C333-5480-4231-A8AB-BEE1001EA7FE</RequestId>\\n <Data>\\n <Location>\\n <X>28</X>\\n <Y>20</Y>\\n <Height>320</Height>\\n <Width>583</Width>\\n </Location>\\n </Data>\\n</DetectMainBodyResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + ], + 'DetectWhiteBaseImage' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/objectdet/DetectWhiteBaseImage/DetectWhiteBaseImage1.jpg', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => '7A7F9EEB-44C4-4592-9089-A6185B222B23', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Elements' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'WhiteBase' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int32', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7A7F9EEB-44C4-4592-9089-A6185B222B23\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"WhiteBase\\": 0\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DetectWhiteBaseImageResponse>\\n <RequestId>7A7F9EEB-44C4-4592-9089-A6185B222B23</RequestId>\\n <Data>\\n <Elements>\\n <WhiteBase>0</WhiteBase>\\n </Elements>\\n </Data>\\n</DetectWhiteBaseImageResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + ], + 'DetectObject' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/objectdet/DetectObject/DetectObject1.jpg', + 'isFileTransferUrl' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '6EF97B44-2763-4EAD-8737-FB9F5EE25FE2', + ], + 'Data' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Elements' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'chair', + ], + 'Boxes' => [ + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '[468, 238, 531, 299]', + ], + ], + 'Score' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '0.266', + ], + ], + ], + ], + 'Width' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '533', + ], + 'Height' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '300', + ], + ], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"6EF97B44-2763-4EAD-8737-FB9F5EE25FE2\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"Type\\": \\"chair\\",\\n \\"Boxes\\": [\\n 0\\n ],\\n \\"Score\\": 0.266\\n }\\n ],\\n \\"Width\\": 533,\\n \\"Height\\": 300\\n }\\n}","errorExample":""},{"type":"xml","example":"<DetectObjectResponse>\\n <RequestId>6EF97B44-2763-4EAD-8737-FB9F5EE25FE2</RequestId>\\n <Data>\\n <Height>300</Height>\\n <Elements>\\n <Score>0.266</Score>\\n <Type>chair</Type>\\n <Boxes>468</Boxes>\\n <Boxes>238</Boxes>\\n <Boxes>531</Boxes>\\n <Boxes>299</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.213</Score>\\n <Type>chair</Type>\\n <Boxes>452</Boxes>\\n <Boxes>168</Boxes>\\n <Boxes>531</Boxes>\\n <Boxes>233</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.308</Score>\\n <Type>picture/frame</Type>\\n <Boxes>487</Boxes>\\n <Boxes>44</Boxes>\\n <Boxes>501</Boxes>\\n <Boxes>96</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.257</Score>\\n <Type>picture/frame</Type>\\n <Boxes>477</Boxes>\\n <Boxes>67</Boxes>\\n <Boxes>484</Boxes>\\n <Boxes>98</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.201</Score>\\n <Type>picture/frame</Type>\\n <Boxes>503</Boxes>\\n <Boxes>26</Boxes>\\n <Boxes>524</Boxes>\\n <Boxes>85</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.515</Score>\\n <Type>pillow</Type>\\n <Boxes>161</Boxes>\\n <Boxes>141</Boxes>\\n <Boxes>181</Boxes>\\n <Boxes>158</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.293</Score>\\n <Type>pillow</Type>\\n <Boxes>473</Boxes>\\n <Boxes>143</Boxes>\\n <Boxes>496</Boxes>\\n <Boxes>157</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.214</Score>\\n <Type>pillow</Type>\\n <Boxes>241</Boxes>\\n <Boxes>145</Boxes>\\n <Boxes>253</Boxes>\\n <Boxes>166</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.374</Score>\\n <Type>potted plant</Type>\\n <Boxes>449</Boxes>\\n <Boxes>97</Boxes>\\n <Boxes>477</Boxes>\\n <Boxes>140</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.412</Score>\\n <Type>sofa</Type>\\n <Boxes>145</Boxes>\\n <Boxes>135</Boxes>\\n <Boxes>304</Boxes>\\n <Boxes>202</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.269</Score>\\n <Type>sofa</Type>\\n <Boxes>443</Boxes>\\n <Boxes>136</Boxes>\\n <Boxes>531</Boxes>\\n <Boxes>190</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.262</Score>\\n <Type>sofa</Type>\\n <Boxes>301</Boxes>\\n <Boxes>136</Boxes>\\n <Boxes>352</Boxes>\\n <Boxes>168</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.242</Score>\\n <Type>sofa</Type>\\n <Boxes>452</Boxes>\\n <Boxes>167</Boxes>\\n <Boxes>531</Boxes>\\n <Boxes>230</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.219</Score>\\n <Type>carpet</Type>\\n <Boxes>0</Boxes>\\n <Boxes>153</Boxes>\\n <Boxes>272</Boxes>\\n <Boxes>293</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.458</Score>\\n <Type>coffee table</Type>\\n <Boxes>171</Boxes>\\n <Boxes>172</Boxes>\\n <Boxes>214</Boxes>\\n <Boxes>214</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.358</Score>\\n <Type>coffee table</Type>\\n <Boxes>337</Boxes>\\n <Boxes>185</Boxes>\\n <Boxes>420</Boxes>\\n <Boxes>274</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.285</Score>\\n <Type>coffee table</Type>\\n <Boxes>386</Boxes>\\n <Boxes>159</Boxes>\\n <Boxes>428</Boxes>\\n <Boxes>192</Boxes>\\n </Elements>\\n <Elements>\\n <Score>0.214</Score>\\n <Type>mirror</Type>\\n <Boxes>503</Boxes>\\n <Boxes>26</Boxes>\\n <Boxes>524</Boxes>\\n <Boxes>85</Boxes>\\n </Elements>\\n <Width>533</Width>\\n </Data>\\n</DetectObjectResponse>","errorExample":""}]', + 'requestParamsDescription' => ' ', + ], + 'DetectIPCObject' => [ + 'summary' => 'IPC目标检测', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'ImageURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'https://viapi-test.oss-cn-shanghai.aliyuncs.com/objectdet/detect-ipc-xxxx.jpg', + 'isFileTransferUrl' => true, + 'required' => true, + 'title' => '图片URL地址', + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Schema of Response', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => '7AE23740-A3E5-5607-8E10-895DCBD4C260', + 'title' => 'Id of the request', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Elements' => [ + 'description' => '', + 'items' => [ + 'description' => '1', + 'properties' => [ + 'Type' => [ + 'description' => '', + 'example' => 'DOG', + 'type' => 'string', + ], + 'Score' => [ + 'description' => '', + 'example' => '0.7138671875', + 'format' => 'float', + 'type' => 'number', + ], + 'Box' => [ + 'description' => '', + 'items' => [ + 'description' => '', + 'example' => '[10,150,1587,1193]', + 'format' => 'int64', + 'type' => 'integer', + ], + 'type' => 'array', + ], + 'TargetRate' => [ + 'description' => '', + 'example' => '0.8566723958333333', + 'format' => 'float', + 'type' => 'number', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'Width' => [ + 'description' => '', + 'example' => '1600', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Height' => [ + 'description' => '', + 'example' => '1200', + 'format' => 'int64', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + ], + 'title' => 'Schema of Response', + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"7AE23740-A3E5-5607-8E10-895DCBD4C260\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"Type\\": \\"DOG\\",\\n \\"Score\\": 0.7138671875,\\n \\"Box\\": [\\n 0\\n ],\\n \\"TargetRate\\": 0.8566723958333333\\n }\\n ],\\n \\"Width\\": 1600,\\n \\"Height\\": 1200\\n }\\n}","errorExample":""},{"type":"xml","example":"<DetectIPCObjectResponse>\\n <RequestId>7AE23740-A3E5-5607-8E10-895DCBD4C260</RequestId>\\n <Data>\\n <Height>1200</Height>\\n <Elements>\\n <TargetRate>0.21299583333333333</TargetRate>\\n <Type>CAT</Type>\\n <Score>0.85107421875</Score>\\n <Box>7</Box>\\n <Box>665</Box>\\n <Box>783</Box>\\n <Box>1192</Box>\\n </Elements>\\n <Elements>\\n <TargetRate>0.8566723958333333</TargetRate>\\n <Type>DOG</Type>\\n <Score>0.7138671875</Score>\\n <Box>10</Box>\\n <Box>150</Box>\\n <Box>1587</Box>\\n <Box>1193</Box>\\n </Elements>\\n <Width>1600</Width>\\n </Data>\\n</DetectIPCObjectResponse>","errorExample":""}]', + ], + 'DetectVideoIPCObject' => [ + 'summary' => 'IPC视频文件目标检测', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + ], + 'parameters' => [ + [ + 'name' => 'VideoURL', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/objectdet/DetectVideoIPCObject/DetectVideoIPCObject1.mp4', + 'isFileTransferUrl' => true, + 'required' => true, + 'title' => '视频文件URL地址', + 'type' => 'string', + ], + ], + [ + 'name' => 'StartTimestamp', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => '1629086400', + 'format' => 'int64', + 'minimum' => '0', + 'required' => false, + 'title' => '视频的开始时间戳(秒),即UTC时间,默认为0', + 'type' => 'integer', + ], + ], + [ + 'name' => 'CallbackOnlyHasObject', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'true', + 'required' => false, + 'title' => '是否只有检测到物体才回调', + 'type' => 'boolean', + 'default' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Schema of Response', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => '35B11E1B-800C-4598-B5AA-577E3BDBD917', + 'title' => 'JobId', + 'type' => 'string', + ], + 'Message' => [ + 'description' => '', + 'example' => '', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Width' => [ + 'description' => '', + 'example' => '1280', + 'format' => 'int64', + 'title' => '视频文件的分辨率(像素)', + 'type' => 'integer', + ], + 'Height' => [ + 'description' => '', + 'example' => '720', + 'format' => 'int64', + 'title' => '视频文件的分辨率(像素)', + 'type' => 'integer', + ], + 'Frames' => [ + 'description' => '', + 'items' => [ + 'description' => '1', + 'properties' => [ + 'Time' => [ + 'description' => '', + 'example' => '6124533574', + 'format' => 'int64', + 'title' => '视频帧时间,startTimestamp+视频帧的相对时间的值,单位毫秒,如果startTimestamp为空,则是相对时间', + 'type' => 'integer', + ], + 'Elements' => [ + 'description' => '', + 'items' => [ + 'description' => '1', + 'properties' => [ + 'Type' => [ + 'description' => '', + 'example' => 'PERSON', + 'type' => 'string', + ], + 'X' => [ + 'description' => '', + 'example' => '289', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Y' => [ + 'description' => '', + 'example' => '271', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Width' => [ + 'description' => '', + 'example' => '100', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Height' => [ + 'description' => '', + 'example' => '156', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Score' => [ + 'description' => '', + 'example' => '0.7812', + 'format' => 'float', + 'type' => 'number', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + 'title' => '视频帧的集合,未检测到目标的帧不列出', + 'type' => 'array', + ], + 'InputFile' => [ + 'description' => '', + 'example' => 'oss://viapi-test/viapi-3.0domepic/objectdet/DetectVideoIPCObject/DetectVideoIPCObject4.mp4', + 'title' => '输入文件信息', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + ], + 'title' => 'Schema of Response', + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"35B11E1B-800C-4598-B5AA-577E3BDBD917\\",\\n \\"Message\\": \\"该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\",\\n \\"Data\\": {\\n \\"Width\\": 1280,\\n \\"Height\\": 720,\\n \\"Frames\\": [\\n {\\n \\"Time\\": 6124533574,\\n \\"Elements\\": [\\n {\\n \\"Type\\": \\"PERSON\\",\\n \\"X\\": 289,\\n \\"Y\\": 271,\\n \\"Width\\": 100,\\n \\"Height\\": 156,\\n \\"Score\\": 0.7812\\n }\\n ]\\n }\\n ],\\n \\"InputFile\\": \\"oss://viapi-test/viapi-3.0domepic/objectdet/DetectVideoIPCObject/DetectVideoIPCObject4.mp4\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<DetectVideoIPCObjectResponse>\\n <RequestId>35B11E1B-800C-4598-B5AA-577E3BDBD917</RequestId>\\n <Message>该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。</Message>\\n</DetectVideoIPCObjectResponse>","errorExample":""}]', + ], + 'DetectWorkwear' => [ + 'summary' => '着装检测', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'Clothes', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'properties' => [ + 'MaxNum' => [ + 'description' => '', + 'example' => '1', + 'format' => 'int64', + 'required' => false, + 'type' => 'integer', + ], + 'Threshold' => [ + 'description' => '', + 'example' => '0.4', + 'format' => 'double', + 'required' => false, + 'type' => 'number', + ], + ], + 'required' => false, + 'type' => 'object', + ], + ], + [ + 'name' => 'ImageUrl', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'https://viapi-test.oss-cn-shanghai.aliyuncs.com/test-team/zhangchaorun/tiyan/xxxx.jpg', + 'isFileTransferUrl' => true, + 'required' => false, + 'type' => 'string', + ], + ], + [ + 'name' => 'Labels', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '1', + 'items' => [ + 'description' => '', + 'example' => 'hat', + 'required' => false, + 'type' => 'string', + ], + 'maxItems' => 3, + 'minItems' => 0, + 'required' => false, + 'type' => 'array', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Schema of Response', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => '16CA8094-D7BC-51D4-8D55-6AC59AB20E0B', + 'title' => 'Id of the request', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Elements' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'Property' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'Label' => [ + 'description' => '', + 'example' => 'hat', + 'type' => 'string', + ], + 'Probability' => [ + 'description' => '', + 'properties' => [ + 'No' => [ + 'description' => '', + 'example' => '0.00036084422', + 'format' => 'double', + 'type' => 'number', + ], + 'Threshold' => [ + 'description' => '', + 'example' => '0', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Unknown' => [ + 'description' => '', + 'example' => '0.0006906331', + 'format' => 'double', + 'type' => 'number', + ], + 'Yes' => [ + 'description' => '', + 'example' => '0.9989485', + 'format' => 'double', + 'type' => 'number', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + 'Rectangles' => [ + 'description' => '', + 'properties' => [ + 'Height' => [ + 'description' => '', + 'example' => '96', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Left' => [ + 'description' => '', + 'example' => '1067', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Top' => [ + 'description' => '', + 'example' => '426', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Width' => [ + 'description' => '', + 'example' => '88', + 'format' => 'int64', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + 'Score' => [ + 'description' => '', + 'example' => '0.63913465', + 'format' => 'double', + 'type' => 'number', + ], + 'Type' => [ + 'description' => '', + 'example' => '1', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + ], + 'title' => 'Schema of Response', + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"16CA8094-D7BC-51D4-8D55-6AC59AB20E0B\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"Property\\": [\\n {\\n \\"Label\\": \\"hat\\",\\n \\"Probability\\": {\\n \\"No\\": 0.00036084422,\\n \\"Threshold\\": 0,\\n \\"Unknown\\": 0.0006906331,\\n \\"Yes\\": 0.9989485\\n }\\n }\\n ],\\n \\"Rectangles\\": {\\n \\"Height\\": 96,\\n \\"Left\\": 1067,\\n \\"Top\\": 426,\\n \\"Width\\": 88\\n },\\n \\"Score\\": 0.63913465,\\n \\"Type\\": \\"1\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DetectWorkwearResponse>\\r\\n <RequestId>16CA8094-D7BC-51D4-8D55-6AC59AB20E0B</RequestId>\\r\\n <Data>\\r\\n <Elements>\\r\\n <Property>\\r\\n <Label>hat</Label>\\r\\n <Probability>\\r\\n <No>0.00036084422</No>\\r\\n <Threshold>0</Threshold>\\r\\n <Unknown>0.0006906331</Unknown>\\r\\n <Yes>0.9989485</Yes>\\r\\n </Probability>\\r\\n </Property>\\r\\n <Rectangles>\\r\\n <Height>96</Height>\\r\\n <Left>1067</Left>\\r\\n <Top>426</Top>\\r\\n <Width>88</Width>\\r\\n </Rectangles>\\r\\n <Score>0.63913465</Score>\\r\\n <Type>1</Type>\\r\\n </Elements>\\r\\n </Data>\\r\\n</DetectWorkwearResponse>","errorExample":""}]', + ], + 'DetectKitchenAnimals' => [ + 'summary' => '猫鼠识别', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ImageURLA', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/objectdet/DetectKitchenAnimals/DetectKitchenAnimals-left1.png', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + [ + 'name' => 'ImageURLB', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/objectdet/DetectKitchenAnimals/DetectKitchenAnimals-right1.png', + 'isFileTransferUrl' => true, + 'required' => true, + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'Schema of Response', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => 'C306F16F-30E1-54F4-93DF-A52CCF6664D1', + 'title' => 'Id of the request', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Elements' => [ + 'description' => '', + 'items' => [ + 'properties' => [ + 'Type' => [ + 'description' => '', + 'example' => 'mouse', + 'type' => 'string', + ], + 'Score' => [ + 'description' => '', + 'example' => '0.75105053', + 'format' => 'float', + 'type' => 'number', + ], + 'Rectangles' => [ + 'description' => '', + 'properties' => [ + 'Top' => [ + 'description' => '', + 'example' => '1048', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Left' => [ + 'description' => '', + 'example' => '292', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Height' => [ + 'description' => '', + 'example' => '64', + 'format' => 'int64', + 'type' => 'integer', + ], + 'Width' => [ + 'description' => '', + 'example' => '64', + 'format' => 'int64', + 'type' => 'integer', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + 'type' => 'array', + ], + ], + 'type' => 'object', + ], + ], + 'title' => 'Schema of Response', + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"C306F16F-30E1-54F4-93DF-A52CCF6664D1\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"Type\\": \\"mouse\\",\\n \\"Score\\": 0.75105053,\\n \\"Rectangles\\": {\\n \\"Top\\": 1048,\\n \\"Left\\": 292,\\n \\"Height\\": 64,\\n \\"Width\\": 64\\n }\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<DetectKitchenAnimalsResponse>\\n <RequestId>C306F16F-30E1-54F4-93DF-A52CCF6664D1</RequestId>\\n <Data>\\n <Elements>\\n <Type>mouse</Type>\\n <Score>0.75105053</Score>\\n <Rectangles>\\n <Left>292</Left>\\n <Top>1048</Top>\\n <Height>64</Height>\\n <Width>64</Width>\\n </Rectangles>\\n </Elements>\\n <Elements>\\n <Type>cat</Type>\\n <Score>0.4602436</Score>\\n <Rectangles>\\n <Left>1344</Left>\\n <Top>208</Top>\\n <Height>112</Height>\\n <Width>164</Width>\\n </Rectangles>\\n </Elements>\\n </Data>\\n</DetectKitchenAnimalsResponse>","errorExample":""}]', + ], + 'GetAsyncJobResult' => [ + 'summary' => '查询异步任务结果', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'JobId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'example' => '35B11E1B-800C-4598-B5AA-577E3BDBD917', + 'required' => true, + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '1', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'example' => '87FC80D2-2571-4BBD-BD61-AFF7912C556D', + 'type' => 'string', + ], + 'Data' => [ + 'description' => '', + 'properties' => [ + 'Status' => [ + 'description' => '', + 'example' => 'PROCESS_SUCCESS', + 'type' => 'string', + ], + 'ErrorMessage' => [ + 'description' => '', + 'example' => 'paramsIllegal', + 'type' => 'string', + ], + 'Result' => [ + 'description' => '', + 'example' => '{\\"inputFile\\":\\"oss://public-vigen-video/guotian.xgt/test_images/test_video\\",\\"width\\":1280,\\"height\\":720,\\"frames\\":[{\\"time\\":6124533574,\\"elements\\":[{\\"type\\":\\"PERSON\\",\\"score\\":0.7812,\\"x\\":289,\\"y\\":271,\\"width\\":100,\\"height\\":156},{\\"type\\":\\"PERSON\\",\\"score\\":0.4377,\\"x\\":917,\\"y\\":267,\\"width\\":34,\\"height\\":51}]}]}]}"}', + 'type' => 'string', + ], + 'ErrorCode' => [ + 'description' => '', + 'example' => 'InvalidParameter', + 'type' => 'string', + ], + 'JobId' => [ + 'description' => '', + 'example' => '35B11E1B-800C-4598-B5AA-577E3BDBD917', + 'type' => 'string', + ], + ], + 'type' => 'object', + ], + ], + 'type' => 'object', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'ParameterError', + 'errorMessage' => 'The parameter is invalid. Please check again.', + ], + ], + 403 => [ + [ + 'errorCode' => 'AuthFailed', + 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', + ], + ], + 408 => [ + [ + 'errorCode' => 'Timeout', + 'errorMessage' => 'The request has timed out.', + ], + ], + 503 => [ + [ + 'errorCode' => 'ServiceUnavailable', + 'errorMessage' => 'The service is unavailable.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"87FC80D2-2571-4BBD-BD61-AFF7912C556D\\",\\n \\"Data\\": {\\n \\"Status\\": \\"PROCESS_SUCCESS\\",\\n \\"ErrorMessage\\": \\"paramsIllegal\\",\\n \\"Result\\": \\"{\\\\\\\\\\\\\\"inputFile\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"oss://public-vigen-video/guotian.xgt/test_images/test_video\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"width\\\\\\\\\\\\\\":1280,\\\\\\\\\\\\\\"height\\\\\\\\\\\\\\":720,\\\\\\\\\\\\\\"frames\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"time\\\\\\\\\\\\\\":6124533574,\\\\\\\\\\\\\\"elements\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"PERSON\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"score\\\\\\\\\\\\\\":0.7812,\\\\\\\\\\\\\\"x\\\\\\\\\\\\\\":289,\\\\\\\\\\\\\\"y\\\\\\\\\\\\\\":271,\\\\\\\\\\\\\\"width\\\\\\\\\\\\\\":100,\\\\\\\\\\\\\\"height\\\\\\\\\\\\\\":156},{\\\\\\\\\\\\\\"type\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"PERSON\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"score\\\\\\\\\\\\\\":0.4377,\\\\\\\\\\\\\\"x\\\\\\\\\\\\\\":917,\\\\\\\\\\\\\\"y\\\\\\\\\\\\\\":267,\\\\\\\\\\\\\\"width\\\\\\\\\\\\\\":34,\\\\\\\\\\\\\\"height\\\\\\\\\\\\\\":51}]}]}]}\\\\\\"}\\",\\n \\"ErrorCode\\": \\"InvalidParameter\\",\\n \\"JobId\\": \\"35B11E1B-800C-4598-B5AA-577E3BDBD917\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<RequestId>87FC80D2-2571-4BBD-BD61-AFF7912C556D</RequestId>\\n<Data>\\n <Status>PROCESS_SUCCESS</Status>\\n <ErrorMessage>paramsIllegal</ErrorMessage>\\n <Result>{\\\\\\"inputFile\\\\\\":\\\\\\"oss://public-vigen-video/guotian.xgt/test_images/test_video\\\\\\",\\\\\\"width\\\\\\":1280,\\\\\\"height\\\\\\":720,\\\\\\"frames\\\\\\":[{\\\\\\"time\\\\\\":6124533574,\\\\\\"elements\\\\\\":[{\\\\\\"type\\\\\\":\\\\\\"PERSON\\\\\\",\\\\\\"score\\\\\\":0.7812,\\\\\\"x\\\\\\":289,\\\\\\"y\\\\\\":271,\\\\\\"width\\\\\\":100,\\\\\\"height\\\\\\":156},{\\\\\\"type\\\\\\":\\\\\\"PERSON\\\\\\",\\\\\\"score\\\\\\":0.4377,\\\\\\"x\\\\\\":917,\\\\\\"y\\\\\\":267,\\\\\\"width\\\\\\":34,\\\\\\"height\\\\\\":51}]}]}]}\\"}</Result>\\n <ErrorCode>InvalidParameter</ErrorCode>\\n <JobId>35B11E1B-800C-4598-B5AA-577E3BDBD917</JobId>\\n</Data>","errorExample":""}]', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'objectdet.cn-shanghai.aliyuncs.com', + ], + ], +]; |
