'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":"\\n 4FC381BB-04F2-50F4-B54B-593042BCF3C6\\n \\n \\n AOAQQQBA****FRD\\n AEAMQQAA****KRC\\n AEAMQQAA****BhC\\n \\n \\n 1\\n 2\\n 3\\n \\n \\n 0.962890625\\n vehicle\\n 0\\n \\n 341\\n 434\\n 589\\n 576\\n \\n \\n \\n 0.9619140625\\n vehicle\\n 1\\n \\n 304\\n 228\\n 525\\n 440\\n \\n \\n \\n 0.83203125\\n vehicle\\n 2\\n \\n 0\\n 24\\n 68\\n 106\\n \\n \\n \\n 0.53125\\n vehicle\\n 3\\n \\n 0\\n 0\\n 58\\n 38\\n \\n \\n \\n -1\\n -1\\n -1\\n \\n \\n","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":"\\n DB882EDD-991A-5A0C-A19B-CC7C4BA65E35\\n \\n \\n 1\\n 2\\n 3\\n 4\\n 5\\n 6\\n 7\\n 8\\n 10\\n 11\\n \\n \\n 0.9599609375\\n vehicle\\n 0\\n \\n 413\\n 138\\n 499\\n 268\\n \\n \\n \\n 0.95751953125\\n vehicle\\n 1\\n \\n 146\\n 121\\n 371\\n 284\\n \\n \\n \\n 0.93310546875\\n vehicle\\n 2\\n \\n 54\\n 92\\n 164\\n 213\\n \\n \\n \\n 0.9326171875\\n vehicle\\n 3\\n \\n 94\\n 141\\n 171\\n 232\\n \\n \\n \\n 0.9150390625\\n vehicle\\n 4\\n \\n 303\\n 114\\n 430\\n 195\\n \\n \\n \\n 0.82080078125\\n vehicle\\n 5\\n \\n 14\\n 134\\n 32\\n 154\\n \\n \\n \\n 0.767578125\\n vehicle\\n 6\\n \\n 0\\n 132\\n 17\\n 151\\n \\n \\n \\n 0.767578125\\n vehicle\\n 7\\n \\n 37\\n 133\\n 56\\n 162\\n \\n \\n \\n 0.765625\\n vehicle\\n 8\\n \\n 27\\n 131\\n 55\\n 158\\n \\n \\n \\n 0.75341796875\\n vehicle\\n 9\\n \\n 408\\n 14\\n 499\\n 143\\n \\n \\n \\n 0.517578125\\n vehicle\\n 10\\n \\n 164\\n 130\\n 183\\n 144\\n \\n \\n \\n 0.355712890625\\n vehicle\\n 11\\n \\n 1\\n 133\\n 31\\n 153\\n \\n \\n \\n","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":"\\n 2E59C333-5480-4231-A8AB-BEE1001EA7FE\\n \\n \\n 28\\n 20\\n 320\\n 583\\n \\n \\n","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":"\\n 7A7F9EEB-44C4-4592-9089-A6185B222B23\\n \\n \\n 0\\n \\n \\n","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":"\\n 6EF97B44-2763-4EAD-8737-FB9F5EE25FE2\\n \\n 300\\n \\n 0.266\\n chair\\n 468\\n 238\\n 531\\n 299\\n \\n \\n 0.213\\n chair\\n 452\\n 168\\n 531\\n 233\\n \\n \\n 0.308\\n picture/frame\\n 487\\n 44\\n 501\\n 96\\n \\n \\n 0.257\\n picture/frame\\n 477\\n 67\\n 484\\n 98\\n \\n \\n 0.201\\n picture/frame\\n 503\\n 26\\n 524\\n 85\\n \\n \\n 0.515\\n pillow\\n 161\\n 141\\n 181\\n 158\\n \\n \\n 0.293\\n pillow\\n 473\\n 143\\n 496\\n 157\\n \\n \\n 0.214\\n pillow\\n 241\\n 145\\n 253\\n 166\\n \\n \\n 0.374\\n potted plant\\n 449\\n 97\\n 477\\n 140\\n \\n \\n 0.412\\n sofa\\n 145\\n 135\\n 304\\n 202\\n \\n \\n 0.269\\n sofa\\n 443\\n 136\\n 531\\n 190\\n \\n \\n 0.262\\n sofa\\n 301\\n 136\\n 352\\n 168\\n \\n \\n 0.242\\n sofa\\n 452\\n 167\\n 531\\n 230\\n \\n \\n 0.219\\n carpet\\n 0\\n 153\\n 272\\n 293\\n \\n \\n 0.458\\n coffee table\\n 171\\n 172\\n 214\\n 214\\n \\n \\n 0.358\\n coffee table\\n 337\\n 185\\n 420\\n 274\\n \\n \\n 0.285\\n coffee table\\n 386\\n 159\\n 428\\n 192\\n \\n \\n 0.214\\n mirror\\n 503\\n 26\\n 524\\n 85\\n \\n 533\\n \\n","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":"\\n 7AE23740-A3E5-5607-8E10-895DCBD4C260\\n \\n 1200\\n \\n 0.21299583333333333\\n CAT\\n 0.85107421875\\n 7\\n 665\\n 783\\n 1192\\n \\n \\n 0.8566723958333333\\n DOG\\n 0.7138671875\\n 10\\n 150\\n 1587\\n 1193\\n \\n 1600\\n \\n","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":"\\n 35B11E1B-800C-4598-B5AA-577E3BDBD917\\n 该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。\\n","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":"\\r\\n 16CA8094-D7BC-51D4-8D55-6AC59AB20E0B\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n 0.00036084422\\r\\n 0\\r\\n 0.0006906331\\r\\n 0.9989485\\r\\n \\r\\n \\r\\n \\r\\n 96\\r\\n 1067\\r\\n 426\\r\\n 88\\r\\n \\r\\n 0.63913465\\r\\n 1\\r\\n \\r\\n \\r\\n","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":"\\n C306F16F-30E1-54F4-93DF-A52CCF6664D1\\n \\n \\n mouse\\n 0.75105053\\n \\n 292\\n 1048\\n 64\\n 64\\n \\n \\n \\n cat\\n 0.4602436\\n \\n 1344\\n 208\\n 112\\n 164\\n \\n \\n \\n","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":"87FC80D2-2571-4BBD-BD61-AFF7912C556D\\n\\n PROCESS_SUCCESS\\n paramsIllegal\\n {\\\\\\"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 InvalidParameter\\n 35B11E1B-800C-4598-B5AA-577E3BDBD917\\n","errorExample":""}]', ], ], 'endpoints' => [ [ 'regionId' => 'cn-shanghai', 'endpoint' => 'objectdet.cn-shanghai.aliyuncs.com', ], ], ];