From 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 17:11:17 +0800 Subject: update APIs 20260712 --- data/en_us/objectdet/2019-12-30/api-docs.php | 2559 +++++++++++++------------- 1 file changed, 1252 insertions(+), 1307 deletions(-) (limited to 'data/en_us/objectdet/2019-12-30/api-docs.php') diff --git a/data/en_us/objectdet/2019-12-30/api-docs.php b/data/en_us/objectdet/2019-12-30/api-docs.php index 3b1b933..574c127 100644 --- a/data/en_us/objectdet/2019-12-30/api-docs.php +++ b/data/en_us/objectdet/2019-12-30/api-docs.php @@ -1,653 +1,197 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'objectdet', - 'version' => '2019-12-30', - ], + 'info' => ['style' => 'RPC', 'product' => 'objectdet', 'version' => '2019-12-30'], 'directories' => [ [ - 'id' => 114562, - 'title' => null, + 'children' => ['DetectVehicleICongestion'], 'type' => 'directory', - 'children' => [ - 'DetectVehicleICongestion', - 'DetectVehicleIllegalParking', - ], + 'title' => 'Vehicle Detection', ], [ - 'id' => 114557, - 'title' => null, + 'children' => ['DetectMainBody', 'DetectWhiteBaseImage', 'DetectObject', 'DetectIPCObject', 'DetectVideoIPCObject'], 'type' => 'directory', - 'children' => [ - 'DetectMainBody', - 'DetectWhiteBaseImage', - 'DetectObject', - 'DetectIPCObject', - 'DetectVideoIPCObject', - 'DetectWorkwear', - 'DetectKitchenAnimals', - ], + 'title' => 'General Detection', ], [ - 'id' => 114576, - 'title' => null, + 'children' => ['GetAsyncJobResult'], 'type' => 'directory', - 'children' => [ - 'GetAsyncJobResult', - ], + 'title' => 'General API', ], ], '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', - ], + ], + 'apis' => [ + 'DetectIPCObject' => [ + 'summary' => 'This topic describes the syntax and provides examples of the DetectIPCObject operation for IPC image object detection in the object detection (objectdet) category.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => ['operationType' => 'create'], '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', - ], + 'in' => 'formData', + 'schema' => ['title' => '', 'description' => 'The URL of the image. We recommend that you use an Object Storage Service (OSS) link in the Shanghai region. If the file is stored locally or the OSS link is in a region other than Shanghai, see [File URL processing](~~155645~~).', 'type' => 'string', 'required' => true, 'isFileTransferUrl' => true, 'example' => 'https://viapi-test.oss-cn-shanghai.aliyuncs.com/objectdet/detect-ipc-xxxx.jpg'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => '2E59C333-5480-4231-A8AB-BEE1001EA7FE', - 'type' => 'string', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '7AE23740-A3E5-5607-8E10-895DCBD4C260'], 'Data' => [ - 'description' => '', + 'description' => 'The returned data.', + 'type' => 'object', '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', + 'Elements' => [ + 'description' => 'The collection of detected objects. This parameter is empty if no objects are detected.', + 'type' => 'array', + 'items' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The name of the object corresponding to the detection box. Valid values:'."\n" + ."\n" + .'- PERSON: person'."\n" + .'- VEHICLE: vehicle'."\n" + .'- CAT: cat'."\n" + .'- DOG: dog.', 'type' => 'string', 'example' => 'DOG', 'title' => ''], + 'Score' => ['description' => 'The confidence score of the detection box. Value range: \\[0.0, 1.0].', 'type' => 'number', 'format' => 'float', 'example' => '0.7138671875', 'title' => ''], + 'Box' => [ + 'description' => 'The coordinates of the detection box.', + 'type' => 'array', + 'items' => ['description' => 'The coordinates of the detection box, in pixels, in the format \\[left, top, right, bottom].', 'type' => 'integer', 'format' => 'int64', 'example' => '[10,150,1587,1193]', 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'TargetRate' => ['description' => 'The ratio of the area of the object detection box to the image size. Value range: \\[0.0, 1.0]. A value of 1.0 indicates full screen.', 'type' => 'number', 'format' => 'float', 'example' => '0.8566723958333333', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'type' => 'object', + 'title' => '', + 'example' => '', ], + 'Width' => ['description' => 'The width of the image, in pixels.', 'type' => 'integer', 'format' => 'int64', 'example' => '1600', 'title' => ''], + 'Height' => ['description' => 'The height of the image, in pixels.', 'type' => 'integer', 'format' => 'int64', 'example' => '1200', 'title' => ''], ], - 'type' => 'object', + 'title' => '', + 'example' => '', ], ], - 'type' => 'object', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterError', - 'errorMessage' => 'The parameter is invalid. Please check again.', - ], + ['errorCode' => 'ParameterError', 'errorMessage' => 'The parameter is invalid. Please check again.', 'description' => 'The parameter is invalid. Please check again.'], ], 403 => [ - [ - 'errorCode' => 'AuthFailed', - 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', - ], + ['errorCode' => 'AuthFailed', 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', 'description' => 'An error occurred while performing authorization. Please check your RAM configuration.'], ], 408 => [ - [ - 'errorCode' => 'Timeout', - 'errorMessage' => 'The request has timed out.', - ], + ['errorCode' => 'Timeout', 'errorMessage' => 'The request has timed out.', 'description' => 'The request has timed out.'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The service is unavailable.', + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The service is unavailable.', 'description' => 'The service is unavailable.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]', + 'title' => 'IPC image object detection', + 'description' => '## Feature description'."\n" + .'The IPC image object detection feature detects target objects in input images, such as people, vehicles, and pets.'."\n" + ."\n" + .'> - You can visit [Online Consultation](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2) to get online assistance.'."\n" + .'- You can try this feature for free on the Vision Intelligence Open Platform. Click [Try Now](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectIPCObject) to experience this feature or purchase it online.'."\n" + .'- To connect to the Alibaba Cloud Vision Intelligence Open Platform visual AI API, use the API, or consult about issues, join the Alibaba Cloud Vision Intelligence Open Platform consultation group on DingTalk (group ID: 23109592).'."\n" + ."\n" + .'## Common scenarios'."\n" + ."\n" + .'- Smart home monitoring: Generate high-precision video when people or pets shift around the home, enabling detection alerts. You can also monitor pet activities at home.'."\n" + .'- Smart store monitoring: Provides security for stores, especially at night, by promptly notifying you when someone enters the store.'."\n" + .'- Smart factory monitoring: Safety is critical in factory areas. This feature effectively monitors personnel presence and detects unauthorized intrusions.'."\n" + ."\n" + .'## Benefits'."\n" + ."\n" + .'- Wide range of scenarios: Supports object detection across various everyday scenarios, including indoor, outdoor, home, store, mall, daytime, and nighttime environments.'."\n" + .'- Broad detection range: Detects objects of various sizes, suitable for both large object detection and small object detection from distant cameras.'."\n" + .'- High detection efficiency: Supports high concurrency concurrent processing with short processing time.'."\n" + ."\n" + .'## Integration guide'."\n" + .'1. Register an Alibaba Cloud account: Go to the [Alibaba Cloud official website](https://www.aliyun.com), click **Register Now** in the upper-right corner, and follow the instructions to complete account registration.'."\n" + .'2. Activate the service: Make sure you have activated the [object detection service](https://vision.aliyun.com/objectdet). If you have not activated the service, [activate it now](https://common-buy.aliyun.com/?commodityCode=viapi_objectdet_public_cn#/open).'."\n" + .'3. Create an AccessKey pair: Make sure you have [created an AccessKey pair](~~175144~~). If you are using a RAM user AccessKey, grant the AliyunVIAPIFullAccess permission to the RAM user. For more information, see [RAM authorization](~~145025~~).'."\n" + .'4. Online debugging (optional): You can use [OpenAPI Explorer](https://next.api.aliyun.com/api/objectdet/2019-12-30/DetectIPCObject?lang=JAVA&sdkStyle=old¶ms=%7B%22ImageURL%22%3A%22https%3A%2F%2Fviapi-test.oss-cn-shanghai.aliyuncs.com%2Fviapi-3.0domepic%2Fobjectdet%2FDetectIPCObject%2FDetectIPCObject1.jpg%22%7D&tab=DEMO) to debug this feature online, view complete sample code and SDK dependency information, or download the complete project.'."\n" + .'5. Development integration steps:'."\n" + .'- Select the SDK language you want to use from the [SDK overview](~~145033~~).'."\n" + .'- Find the SDK package for the object detection (objectdet) AI category in the corresponding SDK documentation and install it.'."\n" + .'- Modify the sample code provided in the References as needed and invoke the operation.'."\n" + ."\n" + .'6. Sample code: For sample code in commonly used languages, see [IPC image object detection sample code](~~604396~~).'."\n" + ."\n" + .'7. Direct client calls: Common client call methods for this feature include the following.'."\n" + .'- [Direct call from web frontend](~~467779~~)'."\n" + .'- [Direct call from mini programs](~~467780~~)'."\n" + .'- [Direct call from Android](~~467781~~)'."\n" + .'- [Direct call from iOS](~~467782~~).'."\n" + ."\n" + .'## Input limits'."\n" + ."\n" + .'- Image format: JPEG, JPG, PNG, or BMP.'."\n" + .'- Image size: up to 2 MB.'."\n" + .'- Image resolution: greater than 20 × 20 pixels and less than 1024 × 1024 pixels. Higher resolution does not necessarily improve accuracy. Recommended value: maximum edge of 640 pixels.'."\n" + .'- The URL cannot contain Chinese characters.'."\n" + ."\n" + .'## Billable methods'."\n" + .'For the billing method and pricing of IPC image object detection, see [Billing overview](~~202484~~).'."\n" + ."\n" + .'> The debugging operation below is a paid operation. To try it for free, go to the [Experience Center](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectIPCObject).', + 'responseParamsDescription' => '## SDK reference'."\n" + .'To use the IPC image object detection feature in the Alibaba Cloud Vision AI object detection category, use the SDK. Multiple programming languages are supported. When making calls, select the SDK package for the object detection (objectdet) AI category. File parameters can be passed as local files or arbitrary URLs through the SDK. For more information, see [SDK overview](~~145033~~).'."\n" + ."\n" + .'## Sample code'."\n" + .'For sample code in commonly used languages, see [IPC image object detection sample code](~~604396~~).', + 'extraInfo' => '## Error codes'."\n" + .'For error codes of IPC image object detection, see [Common error codes](~~146760~~).'."\n" + ."\n" + .'## Security notice'."\n" + .'- Make sure that the uploaded images or files comply with applicable laws and regulations.'."\n" + .'- Temporary files uploaded through the debugging feature are valid for 1 hour and are automatically deleted by the system after 24 hours.', + 'changeSet' => [ + ['createdAt' => '2022-09-29T08:00:44.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectIPCObject'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'viapi-objectdet:DetectIPCObject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - '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', - ], + 'DetectMainBody' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -659,89 +203,134 @@ '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', - ], + 'in' => 'query', + 'schema' => ['description' => 'The URL of the image. We recommend that you use an Object Storage Service (OSS) link in the Shanghai region. If the file is stored locally or the OSS link is in a region other than Shanghai, see [File URL processing](~~155645~~).', 'type' => 'string', 'required' => true, 'isFileTransferUrl' => true, 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/objectdet/DetectMainBody/DetectMainBody1.jpg', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => '7A7F9EEB-44C4-4592-9089-A6185B222B23', - 'type' => 'string', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '2E59C333-5480-4231-A8AB-BEE1001EA7FE', 'title' => ''], 'Data' => [ - 'description' => '', + 'description' => 'The returned data.', + 'type' => 'object', 'properties' => [ - 'Elements' => [ - 'description' => '', - 'items' => [ - 'properties' => [ - 'WhiteBase' => [ - 'description' => '', - 'example' => '0', - 'format' => 'int32', - 'type' => 'integer', - ], - ], - 'type' => 'object', + 'Location' => [ + 'description' => 'The location information of the image.', + 'type' => 'object', + 'properties' => [ + 'Width' => ['description' => 'The width of the element.', 'type' => 'integer', 'format' => 'int32', 'example' => '583', 'title' => ''], + 'Height' => ['description' => 'The height of the element.', 'type' => 'integer', 'format' => 'int32', 'example' => '320', 'title' => ''], + 'Y' => ['description' => 'The y-coordinate of the element.', 'type' => 'integer', 'format' => 'int32', 'example' => '20', 'title' => ''], + 'X' => ['description' => 'The x-coordinate of the element.', 'type' => 'integer', 'format' => 'int32', 'example' => '28', 'title' => ''], ], - 'type' => 'array', + 'title' => '', + 'example' => '', ], ], - 'type' => 'object', + 'title' => '', + 'example' => '', ], ], - 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterError', - 'errorMessage' => 'The parameter is invalid. Please check again.', - ], + ['errorCode' => 'ParameterError', 'errorMessage' => 'The parameter is invalid. Please check again.', 'description' => 'The parameter is invalid. Please check again.'], ], 403 => [ - [ - 'errorCode' => 'AuthFailed', - 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', - ], + ['errorCode' => 'AuthFailed', 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', 'description' => 'An error occurred while performing authorization. Please check your RAM configuration.'], ], 408 => [ - [ - 'errorCode' => 'Timeout', - 'errorMessage' => 'The request has timed out.', - ], + ['errorCode' => 'Timeout', 'errorMessage' => 'The request has timed out.', 'description' => 'The request has timed out.'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The service is unavailable.', + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The service is unavailable.', 'description' => 'The service is unavailable.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]', + 'title' => 'Detect main body', + 'summary' => 'This topic describes the syntax and examples of the DetectMainBody operation in the object detection (objectdet) category.', + 'description' => '## Description'."\n" + .'The main body detection feature detects the input image and returns the location information of the main body.'."\n" + ."\n" + .'> - You can go to [Online Consultation](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2) for online assistance.'."\n" + .'- You can try this feature for free on the Visual Intelligence Open Platform. Click [Try Now](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectMainBody) to try this feature or purchase it online.'."\n" + .'- To connect to the Visual Intelligence Open Platform visual AI API, use the API, or consult about issues, join the DingTalk group (23109592) to contact us.'."\n" + ."\n" + .'## Getting started'."\n" + .'1. Create an Alibaba Cloud account: Go to the [Alibaba Cloud official website](https://www.aliyun.com). In the upper-right corner, click **Register Now** and follow the instructions to create an account.'."\n" + .'2. Activate the service: Make sure you have activated the [object detection service](https://vision.aliyun.com/objectdet). If you have not activated the service, [activate it now](https://common-buy.aliyun.com/?commodityCode=viapi_objectdet_public_cn#/open).'."\n" + .'3. Create an AccessKey pair: Make sure you have [created an AccessKey pair](~~175144~~). If you are using a RAM user AccessKey, grant the AliyunVIAPIFullAccess permission to the RAM user. For more information, see [RAM authorization](~~145025~~).'."\n" + .'4. Debug online (optional): You can use [OpenAPI Explorer](https://next.api.aliyun.com/api/objectdet/2019-12-30/DetectMainBody?lang=JAVA&sdkStyle=old¶ms=%7B%22ImageURL%22%3A%22http%3A%2F%2Fviapi-test.oss-cn-shanghai.aliyuncs.com%2Fviapi-3.0domepic%2Fobjectdet%2FDetectMainBody%2FDetectMainBody1.jpg%22%7D&tab=DEMO) to debug this feature online, view complete sample code and SDK dependency information, or download the complete project.'."\n" + ."\n" + .'5. Development steps:'."\n" + .'- Select the SDK language you want to use from the [SDK overview](~~145033~~).'."\n" + .'- Find the SDK package for the object detection (objectdet) AI category in the corresponding SDK documentation and install it.'."\n" + .'- Modify the sample code provided in the References as needed and invoke the operation.'."\n" + ."\n" + .'6. Sample code: For sample code in common programming languages, see [DetectMainBody sample code](~~604398~~).'."\n" + ."\n" + .'7. Direct client calls: Common client call methods for this feature include the following.'."\n" + .'- [Direct call from web frontend](~~467779~~)'."\n" + .'- [Direct call from mini programs](~~467780~~)'."\n" + .'- [Direct call from Android](~~467781~~)'."\n" + .'- [Direct call from iOS](~~467782~~).'."\n" + ."\n" + .'## Input limits'."\n" + ."\n" + .'- Image format: PNG (8-bit, 16-bit, and 64-bit PNG images are not supported), JPG, JPEG, or BMP.'."\n" + .'- Image size: up to 3 MB.'."\n" + .'- Image resolution: less than 1280 × 1280 pixels.'."\n" + .'- The URL cannot contain Chinese characters.'."\n" + ."\n" + .'## Billing description'."\n" + .'For information about the billable methods and pricing of main body detection, see [Billing overview](~~202484~~).'."\n" + ."\n" + .'> The debugging operation below is a paid operation. To try it for free, go to the [Experience Center](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectMainBody).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => '## SDK reference'."\n" + .'We recommend that you use an SDK to call the main body detection feature in the Visual AI object detection category. SDKs are available in multiple programming languages. When calling the operation, select the SDK package for the object detection (objectdet) AI category. File parameters support local files and arbitrary URLs when called through the SDK. For more information, see [SDK overview](~~145033~~).'."\n" + ."\n" + .'## Sample code'."\n" + .'For sample code in common programming languages, see [DetectMainBody sample code](~~604398~~).', + 'extraInfo' => '## Error codes'."\n" + .'For error codes of main body detection, see [Common error codes](~~146760~~).'."\n" + ."\n\n" + .'## Security notice'."\n" + .'- Make sure that the uploaded images or files comply with applicable laws and regulations.'."\n" + .'- Temporary files uploaded through the debugging experience are valid for 1 hour and are automatically deleted by the system after 24 hours.', + 'changeSet' => [ + ['createdAt' => '2022-11-07T01:41:29.000Z', 'description' => 'Error codes changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectMainBody'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'viapi-objectdet:DetectMainBody', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - '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', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -749,20 +338,12 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + '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, - ], + 'schema' => ['description' => 'The URL of the image. We recommend that you use an Object Storage Service (OSS) link in the Shanghai region. If the file is stored locally or the OSS link is not in the Shanghai region, see [File URL processing](~~155645~~).', 'type' => 'string', 'required' => true, 'isFileTransferUrl' => true, 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/objectdet/DetectObject/DetectObject1.jpg', 'title' => ''], ], ], 'responses' => [ @@ -770,789 +351,801 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '6EF97B44-2763-4EAD-8737-FB9F5EE25FE2', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '6EF97B44-2763-4EAD-8737-FB9F5EE25FE2', 'title' => ''], 'Data' => [ - 'description' => '', + 'description' => 'The returned result data.', 'type' => 'object', 'properties' => [ 'Elements' => [ - 'description' => '', + 'description' => 'The collection of detection box data.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'chair', - ], + 'Type' => ['description' => 'The object name corresponding to the detection box. For specific types, see the following list.', 'type' => 'string', 'example' => 'chair', 'title' => ''], 'Boxes' => [ 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '[468, 238, 531, 299]', - ], - ], - 'Score' => [ + 'items' => ['description' => 'The coordinates of the detection box in the format of `[left, top, right, bottom]`.', 'type' => 'integer', 'format' => 'int32', 'example' => '[468, 238, 531, 299]', 'title' => ''], 'description' => '', - 'type' => 'number', - 'format' => 'float', - 'example' => '0.266', + 'title' => '', + 'example' => '', ], + 'Score' => ['description' => 'The confidence score of the detected object. Valid values: 0 to 1.', 'type' => 'number', 'format' => 'float', 'example' => '0.266', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], - 'Width' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '533', - ], - 'Height' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '300', - ], + 'Width' => ['description' => 'The width of the image.', 'type' => 'integer', 'format' => 'int32', 'example' => '533', 'title' => ''], + 'Height' => ['description' => 'The height of the image.', 'type' => 'integer', 'format' => 'int32', 'example' => '300', 'title' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterError', - 'errorMessage' => 'The parameter is invalid. Please check again.', - ], + ['errorCode' => 'ParameterError', 'errorMessage' => 'The parameter is invalid. Please check again.', 'description' => 'The parameter is invalid. Please check again.'], ], 403 => [ - [ - 'errorCode' => 'AuthFailed', - 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', - ], + ['errorCode' => 'AuthFailed', 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', 'description' => 'An error occurred while performing authorization. Please check your RAM configuration.'], ], 408 => [ - [ - 'errorCode' => 'Timeout', - 'errorMessage' => 'The request has timed out.', - ], + ['errorCode' => 'Timeout', 'errorMessage' => 'The request has timed out.', 'description' => 'The request has timed out.'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The service is unavailable.', + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The service is unavailable.', 'description' => 'The service is unavailable.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]', + 'title' => 'Object detection', + 'summary' => 'Introduces the syntax and examples of the DetectObject operation in the object detection (objectdet) category.', + 'description' => '## Feature description'."\n" + .'The object detection feature detects objects in an input image.'."\n" + .'The following figure shows an example of this operation:'."\n" + .'![](https://static-aliyun-doc.oss-cn-hangzhou.aliyuncs.com/file-manage-files/zh-CN/20230213/tusk/DetectObject.png" width="600)'."\n" + ."\n" + .'> - You can join [online consultation](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2) to get online help.'."\n" + .'- You can try this feature for free on the Vision Intelligence Open Platform. Click [Try Now](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectObject) to experience this feature or purchase it online.'."\n" + .'- To connect to the Alibaba Cloud Vision Intelligence Open Platform visual AI API, use the API, or consult about issues, join the Alibaba Cloud Vision Intelligence Open Platform consultation group on DingTalk (group ID: 23109592).'."\n" + ."\n" + .'## Getting started'."\n" + .'1. Create an Alibaba Cloud account: Go to the [Alibaba Cloud official website](https://www.aliyun.com), click **Register Now** in the upper-right corner, and follow the instructions to create an account.'."\n" + .'2. Activate the service: Make sure you have activated the [object detection service](https://vision.aliyun.com/objectdet). If you have not activated the service, [activate it now](https://common-buy.aliyun.com/?commodityCode=viapi_objectdet_public_cn#/open).'."\n" + .'3. Create an AccessKey pair: Make sure you have [created an AccessKey pair](~~175144~~). If you are using a RAM user AccessKey, grant the AliyunVIAPIFullAccess permission to the RAM user. For more information, see [RAM authorization](~~145025~~).'."\n" + .'4. Online debugging (optional): You can use [OpenAPI Explorer](https://next.api.aliyun.com/api/objectdet/2019-12-30/DetectObject?lang=JAVA&sdkStyle=old¶ms=%7B%22ImageURL%22%3A%22http%3A%2F%2Fviapi-test.oss-cn-shanghai.aliyuncs.com%2Fviapi-3.0domepic%2Fobjectdet%2FDetectObject%2FDetectObject1.jpg%22%7D&tab=DEMO) to debug this operation online, view complete sample code and SDK dependency information, or download the complete project.'."\n" + .'5. Development steps:'."\n" + ."\n" + .'- Select the SDK language you want to use from [SDK overview](~~145033~~).'."\n" + .'- Find the SDK package for the object detection (objectdet) AI category in the corresponding SDK documentation and install it.'."\n" + .'- Modify the sample code provided in the References as needed and invoke the operation.'."\n" + ."\n" + .'6. Sample code: For sample code in common programming languages, see [Object detection sample code](~~604395~~).'."\n" + ."\n" + .'7. Direct client calls: Common client call methods for this feature include the following.'."\n" + .'- [Direct call from web frontend](~~467779~~)'."\n" + .'- [Direct call from mini programs](~~467780~~)'."\n" + .'- [Direct call from Android](~~467781~~)'."\n" + .'- [Direct call from iOS](~~467782~~).'."\n" + ."\n" + .'## Input limits'."\n" + ."\n" + .'- Image format: JPEG, JPG, PNG, or BMP.'."\n" + .'- Image size: up to 3 MB.'."\n" + .'- Image resolution: greater than 20 × 20 pixels and less than 4096 × 4096 pixels.'."\n" + .'- The URL cannot contain Chinese characters.'."\n" + ."\n" + .'## Billing description'."\n" + .'For information about the billable methods and pricing of object detection, see [Billing overview](~~202484~~).'."\n" + ."\n" + .'> The following debugging operation is a paid operation. To try it for free, go to the [Experience Center](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectObject).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => '## Type values:'."\n" + ."\n" + .'human, sneakers, chair, hat, lamp, cabinet/shelf, car, glasses, picture/frame, street lights, helmet, pillow, glove, potted plant, flower, monitor, plants pot/vase, boots, umbrella, boat, flag, speaker, trash bin/can, backpack, sofa, belt, carpet, coffee table, tie, bed, traffic light, necklace, mirror, bicycle, watch, horse, traffic sign, stuffed animal, motorbike/motorcycle, wild bird, laptop, cow, clock, bus, nightstand, sheep, traffic cone, keyboard, hockey stick, fan, dog, blackboard/whiteboard, mouse, telephone, airplane, skis, soccer, combine with glove, train, tent, sailboat, kite, computer box, elephant, stroller, baseball bat, skateboard, surfboard, cat, zebra, sports car, giraffe, radiator, tennis racket, skating and skiing shoes, baseball, american football, basketball, printer, fire hydrant, projector, fire extinguisher, tennis ball, frisbee, fire truck, helicopter, carriage, bear, globe, volleyball.'."\n" + ."\n" + .'## SDK reference'."\n" + .'We recommend that you use an SDK to call the object detection feature in the Alibaba Cloud Vision AI object detection category. Multiple programming languages are supported. When calling the operation, select the SDK package for the object detection (objectdet) AI category. The SDK supports local files and arbitrary URLs for file parameters. For more information, see [SDK overview](~~145033~~).'."\n" + ."\n" + .'## Sample code'."\n" + .'For sample code in common programming languages, see [Object detection sample code](~~604395~~).', + 'extraInfo' => '## Error codes'."\n" + .'For error codes of object detection, see [Common error codes](~~146760~~).'."\n" + ."\n" + .'## Security notice'."\n" + .'- Make sure that the uploaded images or files comply with applicable laws and regulations.'."\n" + .'- Temporary files uploaded through the experience debugging feature are valid for 1 hour and are automatically deleted by the system after 24 hours.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectObject'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'viapi-objectdet:DetectObject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - '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', - ], + 'DetectVehicleICongestion' => [ + 'summary' => 'This topic describes the syntax and provides examples of the vehicle congestion detection feature (DetectVehicleICongestion) in the object detection (objectdet) category.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + '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', - ], + 'schema' => ['title' => '', 'description' => 'The URL of the image. We recommend that you use an Object Storage Service (OSS) link in the Shanghai region. If the file is stored locally or in an OSS bucket outside the Shanghai region, see [File URL processing](~~155645~~).', 'type' => 'string', 'required' => true, 'maxItems' => 1, 'minItems' => 20, 'isFileTransferUrl' => true, 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/objectdet/DetectVehicleICongestion/DetectVehicleICongestion1.jpg'], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'RoadRegions', + 'in' => 'formData', + 'style' => 'json', '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', + 'description' => 'The multiple regions. The format is [RoadRegion\\_1, RoadRegion\\_2, ..., RoadRegion\\_N].', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RoadRegion' => [ + 'description' => 'The X and Y coordinates of the four vertices of an arbitrary quadrilateral, in the format `[x1,y1,x2,y2,x3,y3,x4,y4]`.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Point' => [ + 'description' => 'The vertex coordinates of the quadrilateral.', + 'type' => 'object', + 'properties' => [ + 'X' => ['description' => 'The X value of the coordinate point.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '400', 'title' => ''], + 'Y' => ['description' => 'The Y value of the coordinate point.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '400', 'title' => ''], ], + 'required' => true, + 'title' => '', + 'example' => '', ], - 'type' => 'object', ], - 'type' => 'array', - ], - 'Width' => [ - 'description' => '', - 'example' => '1600', - 'format' => 'int64', - 'type' => 'integer', - ], - 'Height' => [ + 'required' => false, 'description' => '', - 'example' => '1200', - 'format' => 'int64', - 'type' => 'integer', + 'title' => '', + 'example' => '', ], + 'required' => true, + 'title' => '', + 'example' => '', ], - 'type' => 'object', ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], - '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', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'CallbackOnlyHasObject', + 'name' => 'PreRegionIntersectFeatures', 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => '', - 'example' => 'true', + 'description' => 'The vehicle features corresponding to the vehicle detection boxes that intersect with each specified region in the previous frame.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Features' => [ + 'description' => 'The features as Base64-encoded strings.', + 'type' => 'array', + 'items' => ['description' => 'The Base64-encoded string. For information about how to Base64-encode a file, see [File Base64 processing](~~468191~~).', 'type' => 'string', 'required' => false, 'example' => 'AEAMQQAAAA****ABhC', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], 'required' => false, - 'title' => '是否只有检测到物体才回调', - 'type' => 'boolean', - 'default' => 'false', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', 'description' => 'Schema of Response', + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => '35B11E1B-800C-4598-B5AA-577E3BDBD917', - 'title' => 'JobId', - 'type' => 'string', - ], - 'Message' => [ - 'description' => '', - 'example' => '', - 'type' => 'string', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '4FC381BB-04F2-50F4-B54B-593042BCF3C6'], 'Data' => [ - 'description' => '', + 'description' => 'The returned result data.', + 'type' => 'object', 'properties' => [ - 'Width' => [ - 'description' => '', - 'example' => '1280', - 'format' => 'int64', - 'title' => '视频文件的分辨率(像素)', - 'type' => 'integer', + 'Elements' => [ + 'description' => 'The collection of vehicle detection boxes.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Boxes' => [ + 'description' => 'The detection box coordinates, in the format `[left, top, right, bottom]`.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Left' => ['description' => 'The X coordinate of the upper-left corner of the rectangular area.', 'type' => 'integer', 'format' => 'int64', 'example' => '341', 'title' => ''], + 'Top' => ['description' => 'The Y coordinate of the upper-left corner of the rectangular area.', 'type' => 'integer', 'format' => 'int64', 'example' => '434', 'title' => ''], + 'Right' => ['description' => 'The X coordinate of the lower-right corner of the rectangular area.', 'type' => 'integer', 'format' => 'int64', 'example' => '589', 'title' => ''], + 'Bottom' => ['description' => 'The Y coordinate of the lower-right corner of the rectangular area.', 'type' => 'integer', 'format' => 'int64', 'example' => '576', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Score' => ['description' => 'The confidence score of the detection box, in the range `[0,1]`.', 'type' => 'number', 'format' => 'float', 'example' => '0.962890625', 'title' => ''], + 'TypeName' => ['description' => 'The object corresponding to the detection box. The value is `vehicle` only.', 'type' => 'string', 'example' => 'vehicle', 'title' => ''], + 'Id' => ['description' => 'The ID of the detection box.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], - 'Height' => [ - 'description' => '', - 'example' => '720', - 'format' => 'int64', - 'title' => '视频文件的分辨率(像素)', - 'type' => 'integer', + 'RegionIntersectFeatures' => [ + 'description' => 'The vehicle features corresponding to the vehicle detection boxes that intersect with each specified region.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Features' => [ + 'description' => 'The features as Base64-encoded strings. For information about how to Base64-encode a file, see [File Base64 processing](~~468191~~).', + 'type' => 'array', + 'items' => ['description' => 'The Base64-encoded value used to match whether vehicles between two frames are the same vehicle. For information about how to Base64-encode a file, see [File Base64 processing](~~468191~~).', 'type' => 'string', 'example' => 'AEAMQQAAAA****ABhC', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], - 'Frames' => [ - 'description' => '', + 'RegionIntersectMatched' => [ + 'description' => 'Indicates which feature in PreRegionIntersectFeatures matches the RegionIntersectFeatures of the current frame.', + 'type' => 'array', 'items' => [ 'description' => '1', + 'type' => 'object', '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', - ], + 'Ids' => [ + 'description' => 'The matched feature IDs.', 'type' => 'array', + 'items' => ['description' => 'When two vehicles between two frames are matched, the vehicle is considered to be stalled or in congestion during the time between the two frames.'."\n" + ."\n" + .' > **-1** indicates no matching feature. If a match is found, the corresponding detection box ID is displayed. For example, if the vehicle detection box IDs are `[1,2,3]` and RegionIntersectMatched shows `[-1,-1,-1]`, none of the three regions have a match. If RegionIntersectMatched shows `[-1,2,3]`, region 1 has no match, while regions 2 and 3 have matches.', 'type' => 'integer', 'format' => 'int64', 'example' => '[-1,-1,-1]', 'title' => ''], + 'title' => '', + 'example' => '', ], ], - 'type' => 'object', + 'title' => '', + 'example' => '', ], - 'title' => '视频帧的集合,未检测到目标的帧不列出', - 'type' => 'array', + 'title' => '', + 'example' => '', ], - 'InputFile' => [ - 'description' => '', - 'example' => 'oss://viapi-test/viapi-3.0domepic/objectdet/DetectVideoIPCObject/DetectVideoIPCObject4.mp4', - 'title' => '输入文件信息', - 'type' => 'string', + 'RegionIntersects' => [ + 'description' => 'The vehicle features corresponding to the vehicle detection boxes that intersect with each specified region.'."\n" + ."\n" + .'For example, if the returned result is [ {"Ids":[1,3]}, {"Ids":[2,4]} ], {"Ids":[1,3]} contains the IDs of vehicle detection boxes that intersect with region 1, and {"Ids":[2,4]} contains the IDs of vehicle detection boxes that intersect with region 2. When a vehicle appears within a specified region, it indicates that a vehicle is occupying the lane.'."\n" + ."\n" + .'Detection boxes other than those with IDs included in **RegionIntersects** are outside the specified regions.', + 'type' => 'array', + 'items' => [ + 'description' => '1', + 'type' => 'object', + 'properties' => [ + 'Ids' => [ + 'description' => 'The IDs of vehicle detection boxes that intersect with each specified region.', + 'type' => 'array', + 'items' => ['description' => 'The IDs of vehicle detection boxes that intersect with each specified region.'."\n" + ."\n" + .'For example, {"Ids":[1,3]} contains the IDs of vehicle detection boxes that intersect with the corresponding region.', 'type' => 'integer', 'format' => 'int64', 'example' => '[1,2,3]', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], - 'type' => 'object', + 'title' => '', + 'example' => '', ], ], - 'title' => 'Schema of Response', - 'type' => 'object', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterError', - 'errorMessage' => 'The parameter is invalid. Please check again.', - ], + ['errorCode' => 'ParameterError', 'errorMessage' => 'The parameter is invalid. Please check again.', 'description' => 'The parameter is invalid. Please check again.'], ], 403 => [ - [ - 'errorCode' => 'AuthFailed', - 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', - ], + ['errorCode' => 'AuthFailed', 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', 'description' => 'An error occurred while performing authorization. Please check your RAM configuration.'], ], 408 => [ - [ - 'errorCode' => 'Timeout', - 'errorMessage' => 'The request has timed out.', - ], + ['errorCode' => 'Timeout', 'errorMessage' => 'The request has timed out.', 'description' => 'The request has timed out.'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The service is unavailable.', + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The service is unavailable.', 'description' => 'The service is unavailable.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]', + 'title' => 'Vehicle congestion detection', + 'description' => '## Feature description'."\n" + .'The vehicle congestion detection feature determines whether traffic congestion has occurred based on vehicles in an image.'."\n" + ."\n" + .'> - You can visit [Online Consultation](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2) to get online assistance.'."\n" + .'- You can try this feature for free on the Vision Intelligence Open Platform. Click [Try Now](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectVehicleICongestion) to experience this feature or purchase it online.'."\n" + .'- To connect to the Alibaba Cloud Vision Intelligence Open Platform visual AI API, use the API, or consult about issues, join the Alibaba Cloud Vision Intelligence Open Platform consultation group on DingTalk (group ID: 23109592).'."\n" + ."\n" + .'## Common scenarios'."\n" + ."\n" + .'- Parking lot congestion detection: Detects vehicles and their relative positions in two images captured at intervals by a parking lot camera to determine whether congestion is occurring.'."\n" + .'- Road congestion detection: Detects vehicles and their relative positions in two consecutive images captured at intervals by a road monitoring camera to determine whether congestion is occurring.'."\n" + ."\n" + .'## Key advantages'."\n" + .'Minimal detection data required: Only two images are needed to determine whether congestion has occurred, without requiring large volumes of video data.'."\n" + ."\n" + .'## Getting started'."\n" + .'1. Create an Alibaba Cloud account: Go to the [Alibaba Cloud official website](https://www.aliyun.com), click **China Site Account** in the upper-right corner, and follow the on-screen instructions to create an account.'."\n" + .'2. Activate the service: Make sure you have activated the [object detection service](https://vision.aliyun.com/objectdet). If you have not activated the service, [activate it now](https://common-buy.aliyun.com/?commodityCode=viapi_objectdet_public_cn#/open).'."\n" + .'3. Create an AccessKey pair: Make sure you have [created an AccessKey pair](~~175144~~). If you are using an AccessKey pair of a RAM user, grant the AliyunVIAPIFullAccess permission to the RAM user. For more information, see [RAM authorization](~~145025~~).'."\n" + .'4. Online debugging (optional): You can use [OpenAPI Explorer](https://next.api.aliyun.com/api/objectdet/2019-12-30/DetectVehicleICongestion?lang=JAVA&sdkStyle=dara¶ms=%7B%22ImageURL%22%3A%22http%3A%2F%2Fviapi-test.oss-cn-shanghai.aliyuncs.com%2Fviapi-3.0domepic%2Fobjectdet%2FDetectVehicleICongestion%2FDetectVehicleICongestion1.jpg%22%2C%22%20RoadRegion%22%3A%22%5B100%2C125%2C830%2C125%2C100%2C425%2C830%2C425%5D%22%2C%22RoadRegions%22%3A%5B%7B%22RoadRegion%22%3A%5B%7B%22Point%22%3A%7B%22X%22%3A100%2C%22Y%22%3A125%7D%7D%2C%7B%22Point%22%3A%7B%22X%22%3A830%2C%22Y%22%3A125%7D%7D%2C%7B%22Point%22%3A%7B%22X%22%3A100%2C%22Y%22%3A425%7D%7D%2C%7B%22Point%22%3A%7B%22X%22%3A830%2C%22Y%22%3A425%7D%7D%5D%7D%5D%7D&tab=DEMO) to debug this feature online, view complete sample code and SDK dependency information, or download the complete project.'."\n" + ."\n" + .'5. Development integration steps:'."\n" + .'- Select the SDK language you want to use from the [SDK overview](~~145033~~).'."\n" + .'- Find and install the SDK package for the object detection (objectdet) AI category in the corresponding SDK documentation.'."\n" + .'- Modify the sample code provided in the references as needed and invoke the operation.'."\n" + ."\n" + .'6. Direct client calls: Common client call methods for this feature include the following.'."\n" + .'- [Direct call from web frontend](~~467779~~)'."\n" + .'- [Direct call from mini programs](~~467780~~)'."\n" + .'- [Direct call from Android](~~467781~~)'."\n" + .'- [Direct call from iOS](~~467782~~).'."\n" + ."\n" + .'## Input limits'."\n" + ."\n" + .'- Image format: JPEG, JPG, PNG, or BMP.'."\n" + .'- Image size: up to 500 KB.'."\n" + .'- Image resolution: greater than 20 × 20 pixels and less than 800 × 800 pixels, with an aspect ratio of 2 or less.'."\n" + .'- The URL cannot contain Chinese characters.', + 'responseParamsDescription' => '## SDK reference'."\n" + .'The vehicle congestion detection feature in the Alibaba Cloud Vision AI object detection category is recommended to be called by using an SDK. Multiple programming languages are supported. When calling this feature, select the SDK package for the object detection (objectdet) AI category. File parameters can be passed as local files or arbitrary URLs through the SDK. For more information, see [SDK overview](~~145033~~).', + 'extraInfo' => '## Error codes'."\n" + .'For error codes of the vehicle congestion detection feature, see [Common error codes](~~146760~~).'."\n" + ."\n" + .'## Security notice'."\n" + .'- Make sure that the uploaded images or files comply with applicable laws and regulations.'."\n" + .'- Temporary files uploaded through the experience debugging feature are valid for 1 hour and are automatically deleted by the system after 24 hours.', + 'changeSet' => [ + ['createdAt' => '2022-09-29T08:00:44.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-27T09:40:03.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2021-06-21T12:07:07.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectVehicleICongestion'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'viapi-objectdet:DetectVehicleICongestion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - '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', - ], + 'DetectVideoIPCObject' => [ + 'summary' => 'This topic describes the syntax and provides examples of the DetectVideoIPCObject operation in the object detection (objectdet) category.', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'Clothes', + 'name' => 'VideoURL', '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', - ], + 'schema' => ['title' => '', 'description' => 'The URL of the video file. We recommend that you use an Object Storage Service (OSS) URL in the China (Shanghai) region. If the file is stored locally or in an OSS bucket outside the China (Shanghai) region, see [File URL processing](~~155645~~).', 'type' => 'string', 'required' => true, 'isFileTransferUrl' => true, 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/objectdet/DetectVideoIPCObject/DetectVideoIPCObject1.mp4'], ], [ - 'name' => 'ImageUrl', + 'name' => 'StartTimestamp', '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', - ], + 'schema' => ['title' => '', 'description' => 'The timestamp of the actual start time of the video. For example, if the video starts at 12:00 on August 16, 2021, the corresponding timestamp is 1629086400.', 'type' => 'integer', 'format' => 'int64', 'minimum' => '0', 'example' => '1629086400', 'required' => false], ], [ - 'name' => 'Labels', + 'name' => 'CallbackOnlyHasObject', 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '1', - 'items' => [ - 'description' => '', - 'example' => 'hat', - 'required' => false, - 'type' => 'string', - ], - 'maxItems' => 3, - 'minItems' => 0, - 'required' => false, - 'type' => 'array', - ], + 'schema' => ['title' => '', 'description' => 'Specifies whether to filter callback messages. Valid values:'."\n" + ."\n" + .'- true: The callback is triggered only when objects are detected in the input video.'."\n" + .'- false: The callback is triggered regardless of whether objects are detected.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'true'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '', 'description' => 'Schema of Response', + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => '16CA8094-D7BC-51D4-8D55-6AC59AB20E0B', - 'title' => 'Id of the request', - 'type' => 'string', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '35B11E1B-800C-4598-B5AA-577E3BDBD917'], + 'Message' => ['description' => 'The message returned after the asynchronous task is submitted.', 'type' => 'string', 'example' => '该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。', 'title' => ''], 'Data' => [ - 'description' => '', + 'description' => 'The returned result data. After the asynchronous task is executed, call the [GetAsyncJobResult](~~607824~~) operation and perform JSON deserialization on the Result field to obtain this data.', + 'type' => 'object', 'properties' => [ - 'Elements' => [ - 'description' => '', + 'Width' => ['title' => '', 'description' => 'The width of the video, in pixels.', 'type' => 'integer', 'format' => 'int64', 'example' => '1280'], + 'Height' => ['title' => '', 'description' => 'The height of the video, in pixels.', 'type' => 'integer', 'format' => 'int64', 'example' => '720'], + 'Frames' => [ + 'title' => '', + 'description' => 'The collection of video frames. Frames in which no objects are detected are not listed.', + 'type' => 'array', 'items' => [ + 'description' => '1', + 'type' => 'object', 'properties' => [ - 'Property' => [ - 'description' => '', + 'Time' => ['title' => '', 'description' => 'The timestamp, in seconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '6124533574'], + 'Elements' => [ + 'description' => 'The collection of detected objects. This field is empty if no objects are detected.', + 'type' => 'array', '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', - ], - ], + 'description' => '1', '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', + 'properties' => [ + 'Type' => ['description' => 'The name of the object corresponding to the detection box. Valid values:'."\n" + ."\n" + .'- PERSON: person'."\n" + .'- VEHICLE: vehicle'."\n" + .'- PET: pet.', 'type' => 'string', 'example' => 'PERSON', 'title' => ''], + 'X' => ['description' => 'The X coordinate of the upper-left corner, in pixels.', 'type' => 'integer', 'format' => 'int64', 'example' => '289', 'title' => ''], + 'Y' => ['description' => 'The Y coordinate of the upper-left corner, in pixels.', 'type' => 'integer', 'format' => 'int64', 'example' => '271', 'title' => ''], + 'Width' => ['description' => 'The width of the detection box, in pixels.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'Height' => ['description' => 'The height of the detection box, in pixels.', 'type' => 'integer', 'format' => 'int64', 'example' => '156', 'title' => ''], + 'Score' => ['description' => 'The confidence score of the detection box. Value range: \\[0.0, 1.0].', 'type' => 'number', 'format' => 'float', 'example' => '0.7812', 'title' => ''], ], + 'title' => '', + 'example' => '', ], - 'type' => 'object', - ], - 'Score' => [ - 'description' => '', - 'example' => '0.63913465', - 'format' => 'double', - 'type' => 'number', - ], - 'Type' => [ - 'description' => '', - 'example' => '1', - 'type' => 'string', + 'title' => '', + 'example' => '', ], ], - 'type' => 'object', + 'title' => '', + 'example' => '', ], - 'type' => 'array', + 'example' => '', ], + 'InputFile' => ['title' => '', 'description' => 'The input file information.', 'type' => 'string', 'example' => 'oss://viapi-test/viapi-3.0domepic/objectdet/DetectVideoIPCObject/DetectVideoIPCObject4.mp4'], ], - 'type' => 'object', + 'title' => '', + 'example' => '', ], ], - 'title' => 'Schema of Response', - 'type' => 'object', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterError', - 'errorMessage' => 'The parameter is invalid. Please check again.', - ], + ['errorCode' => 'ParameterError', 'errorMessage' => 'The parameter is invalid. Please check again.', 'description' => 'The parameter is invalid. Please check again.'], ], 403 => [ - [ - 'errorCode' => 'AuthFailed', - 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', - ], + ['errorCode' => 'AuthFailed', 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', 'description' => 'An error occurred while performing authorization. Please check your RAM configuration.'], ], 408 => [ - [ - 'errorCode' => 'Timeout', - 'errorMessage' => 'The request has timed out.', - ], + ['errorCode' => 'Timeout', 'errorMessage' => 'The request has timed out.', 'description' => 'The request has timed out.'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The service is unavailable.', + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The service is unavailable.', 'description' => 'The service is unavailable.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]', + 'title' => 'IPC video object detection', + 'description' => '## Feature description'."\n" + .'The IPC video object detection feature detects objects in input videos, such as people, vehicles, and pets.'."\n" + ."\n" + .'> - You can visit [Online Consultation](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2) to get online assistance.'."\n" + .'- You can try this feature for free on the Vision Intelligence Open Platform. Click [Try Now](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectVideoIPCObject) to experience this feature or purchase it online.'."\n" + .'- To connect to the Alibaba Cloud Vision Intelligence Open Platform visual AI API, use the API, or consult about issues, join the Alibaba Cloud Vision Intelligence Open Platform consultation group on DingTalk (group ID: 23109592).'."\n" + ."\n" + .'## Common scenarios'."\n" + ."\n" + .'- Smart home monitoring: Generates high-precision video when people or pets move at home, enabling detection alerts. You can also monitor pet activities at home.'."\n" + .'- Smart store monitoring: Provides security for stores, especially at night, by promptly notifying you when someone enters the store.'."\n" + .'- Smart factory monitoring: Enhances safety in factory areas by effectively monitoring staff presence and detecting unauthorized intrusions.'."\n" + ."\n" + .'## Advantages'."\n" + ."\n" + .'- Wide range of scenarios: Supports object detection across various daily scenarios, including indoor, outdoor, home, store, mall, daytime, and nighttime environments.'."\n" + .'- Broad detection range: Detects objects of various sizes, suitable for both large object detection and small object detection from distant cameras.'."\n" + .'- High detection efficiency: Supports high concurrency concurrent processing with short processing time.'."\n" + ."\n" + .'## Getting started'."\n" + .'1. Register an Alibaba Cloud account: Go to the [Alibaba Cloud official website](https://www.aliyun.com), click **China Site Account** in the upper-right corner, and follow the instructions to complete account registration.'."\n" + .'2. Activate the service: Make sure you have activated the [Object Detection service](https://vision.aliyun.com/objectdet). If you have not activated the service, [activate it now](https://common-buy.aliyun.com/?commodityCode=viapi_objectdet_public_cn#/open).'."\n" + .'3. Create an AccessKey pair: Make sure you have [created an AccessKey pair](~~175144~~). If you are using a RAM user AccessKey, grant the AliyunVIAPIFullAccess permission to the RAM user. For more information, see [RAM authorization](~~145025~~).'."\n" + .'4. Online debugging (optional): You can use [OpenAPI Explorer](https://next.api.aliyun.com/api/objectdet/2019-12-30/DetectVideoIPCObject?lang=JAVA&sdkStyle=old¶ms=%7B%22VideoURL%22%3A%22http%3A%2F%2Fviapi-test.oss-cn-shanghai.aliyuncs.com%2Fviapi-3.0domepic%2Fobjectdet%2FDetectVideoIPCObject%2FDetectVideoIPCObject1.mp4%22%7D&tab=DEMO) to debug this feature online, view complete sample code and SDK dependency information, or download the complete project.'."\n" + ."\n" + .'5. Development integration steps:'."\n" + .'- Select the SDK language you want to use from the [SDK overview](~~145033~~).'."\n" + .'- Find the SDK package for the object detection (objectdet) AI category in the corresponding SDK documentation and install it.'."\n" + .'- Modify the sample code provided in the References as needed and invoke the node.'."\n" + ."\n" + .'6. Sample code: For sample code that queries asynchronous task results in common programming languages, see [Sample code for querying asynchronous task results](~~607974~~).'."\n" + ."\n" + .'7. Direct client invocations: Common client invocation methods for this feature include the following.'."\n" + .'- [Direct invocation from web frontend](~~467779~~)'."\n" + .'- [Direct invocation from mini programs](~~467780~~)'."\n" + .'- [Direct invocation from Android](~~467781~~)'."\n" + .'- [Direct invocation from iOS](~~467782~~).'."\n" + ."\n" + .'## Input limits'."\n" + ."\n" + .'- Video format: H.264 or H.265.'."\n" + .'- Video resolution: greater than 20 × 20 pixels and less than 4096 × 4096 pixels.'."\n" + .'- Video frame rate: 35 fps or less.'."\n" + .'- Video size: 10 MB or less.'."\n" + .'- Video duration: 10 seconds or less.'."\n" + .'- The URL cannot contain Chinese characters.'."\n" + ."\n" + .'## Billing description'."\n" + .'For information about the billable methods and pricing of IPC video object detection, see [Billing overview](~~202484~~).'."\n" + ."\n" + .'> The debugging operation below is a paid operation. To try it for free, go to the [Experience Center](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectVideoIPCObject).'."\n" + ."\n" + .'## Call procedure'."\n" + .'This feature is asynchronous and requires two steps to call.'."\n" + .'Step 1: Call the DetectVideoIPCObject operation to submit a task. After the request succeeds, a task ID is returned.'."\n" + .'Step 2: Call the [GetAsyncJobResult](~~607824~~) operation to query the result based on the task ID. If the task is still being processed, wait a moment and then query again.', + 'responseParamsDescription' => '## Query results'."\n" + .'This operation is asynchronous and does not return the actual result. You must call the GetAsyncJobResult operation with the returned RequestId to obtain the actual result. For more information, see [GetAsyncJobResult](~~607824~~).'."\n" + ."\n" + .'## SDK reference'."\n" + .'For the IPC video object detection feature under the Alibaba Cloud Vision AI object detection category, we recommend that you use the SDK. Multiple programming languages are supported. When making a call, select the SDK package for the object detection (objectdet) AI category. File parameters support local files and arbitrary URLs through the SDK. For more information, see [SDK overview](~~145033~~).'."\n" + ."\n" + .'## Sample code'."\n" + .'For sample code that queries asynchronous task results in common programming languages, see [Sample code for querying asynchronous task results](~~607974~~).', + 'extraInfo' => '## Error codes'."\n" + .'For error codes of IPC video object detection, see [Common error codes](~~146760~~).'."\n" + ."\n" + .'## Security notice'."\n" + .'- Make sure that the uploaded images or files comply with applicable laws and regulations.'."\n" + .'- Temporary files uploaded through the debugging experience are valid for 1 hour and are automatically deleted by the system after 24 hours.', + 'changeSet' => [ + ['createdAt' => '2022-10-17T02:03:11.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-27T09:40:03.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2021-04-22T12:11:39.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-04-15T02:16:45.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2021-04-08T02:46:22.000Z', 'description' => 'OpenAPI offline'], + ['createdAt' => '2021-04-08T02:46:22.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectVideoIPCObject'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'viapi-objectdet:DetectVideoIPCObject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - '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', - ], + 'DetectWhiteBaseImage' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', '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', + 'name' => 'ImageURL', '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', - ], + 'schema' => ['description' => 'The URL of the image. We recommend that you use an OSS URL in the China (Shanghai) region. If the file is stored locally or in an OSS bucket outside the China (Shanghai) region, see [File URL processing](~~155645~~).', 'type' => 'string', 'required' => true, 'isFileTransferUrl' => true, 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/objectdet/DetectWhiteBaseImage/DetectWhiteBaseImage1.jpg', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'Schema of Response', + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => 'C306F16F-30E1-54F4-93DF-A52CCF6664D1', - 'title' => 'Id of the request', - 'type' => 'string', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '7A7F9EEB-44C4-4592-9089-A6185B222B23', 'title' => ''], 'Data' => [ - 'description' => '', + 'description' => 'The returned result data.', + 'type' => 'object', 'properties' => [ 'Elements' => [ - 'description' => '', + 'description' => 'The detection result.', + 'type' => 'array', 'items' => [ + 'type' => 'object', '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', - ], + 'WhiteBase' => ['description' => 'Indicates whether the image has a white background. Valid values:'."\n" + ."\n" + .'- 0: non-white background'."\n" + ."\n" + .'- 1: white background.', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'title' => ''], ], - 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], - 'type' => 'array', + 'title' => '', + 'example' => '', ], ], - 'type' => 'object', + 'title' => '', + 'example' => '', ], ], - 'title' => 'Schema of Response', - 'type' => 'object', + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterError', - 'errorMessage' => 'The parameter is invalid. Please check again.', - ], + ['errorCode' => 'ParameterError', 'errorMessage' => 'The parameter is invalid. Please check again.', 'description' => 'The parameter is invalid. Please check again.'], ], 403 => [ - [ - 'errorCode' => 'AuthFailed', - 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', - ], + ['errorCode' => 'AuthFailed', 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', 'description' => 'An error occurred while performing authorization. Please check your RAM configuration.'], ], 408 => [ - [ - 'errorCode' => 'Timeout', - 'errorMessage' => 'The request has timed out.', - ], + ['errorCode' => 'Timeout', 'errorMessage' => 'The request has timed out.', 'description' => 'The request has timed out.'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The service is unavailable.', + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The service is unavailable.', 'description' => 'The service is unavailable.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7A7F9EEB-44C4-4592-9089-A6185B222B23\\",\\n \\"Data\\": {\\n \\"Elements\\": [\\n {\\n \\"WhiteBase\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => 'White background image detection', + 'summary' => 'This topic describes the syntax and examples of the DetectWhiteBaseImage operation in the object detection (objectdet) category.', + 'description' => '## Feature description'."\n" + .'The white background image detection feature detects whether an image has a white background.'."\n" + ."\n" + .'> - You can visit [Online Consultation](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2) for online assistance.'."\n" + .'- You can try this feature for free on the Vision Intelligence Open Platform. Click [Try Now](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectWhiteBaseImage) to experience this feature or purchase it online.'."\n" + .'- For questions about API integration or usage of Alibaba Cloud Vision Intelligence Open Platform, join the DingTalk group (23109592) to contact us.'."\n" + ."\n" + .'## Integration guide'."\n" + .'1. Register an Alibaba Cloud account: Go to the [Alibaba Cloud official website](https://www.aliyun.com), click **Register Now** in the upper-right corner, and follow the prompts to complete registration.'."\n" + .'2. Activate the service: Make sure you have activated the [object detection service](https://vision.aliyun.com/objectdet). If you have not activated the service, [activate it now](https://common-buy.aliyun.com/?commodityCode=viapi_objectdet_public_cn#/open).'."\n" + .'3. Create an AccessKey: Make sure you have [created an AccessKey](~~175144~~). If you are using a RAM user AccessKey, grant the AliyunVIAPIFullAccess permission to the RAM user. For more information, see [RAM authorization](~~145025~~).'."\n" + .'4. Online debugging (optional): You can use [OpenAPI Explorer](https://next.api.aliyun.com/api/objectdet/2019-12-30/DetectWhiteBaseImage?lang=JAVA&sdkStyle=old¶ms=%7B%22ImageURL%22%3A%22http%3A%2F%2Fviapi-test.oss-cn-shanghai.aliyuncs.com%2Fviapi-3.0domepic%2Fobjectdet%2FDetectWhiteBaseImage%2FDetectWhiteBaseImage1.jpg%22%7D&tab=DEMO) to debug this feature online, view complete sample code and SDK dependency information, or download the complete project.'."\n" + ."\n" + .'5. Development integration steps:'."\n" + .'- Select the SDK language you want to use from the [SDK overview](~~145033~~).'."\n" + .'- Find and install the SDK package for the object detection (objectdet) category in the corresponding SDK documentation.'."\n" + .'- Modify the sample code provided in the References as needed and invoke the operation.'."\n" + ."\n" + .'6. Sample code: For sample code in commonly used languages, see [DetectWhiteBaseImage sample code](~~604401~~).'."\n" + ."\n" + .'7. Direct client calls: Common client call methods for this feature include the following.'."\n" + .'- [Direct call from web frontend](~~467779~~)'."\n" + .'- [Direct call from mini programs](~~467780~~)'."\n" + .'- [Direct call from Android](~~467781~~)'."\n" + .'- [Direct call from iOS](~~467782~~).'."\n" + ."\n" + .'## Input limits'."\n" + .'- Image format: JPG, JPEG, or PNG.'."\n" + .'- Image size: up to 3 MB.'."\n" + .'- Image resolution: greater than 32 × 32 pixels and less than 1280 × 1280 pixels.'."\n" + .'- The URL cannot contain Chinese characters.'."\n" + ."\n" + .'## Security notice'."\n" + .'- Make sure that the uploaded images or files comply with applicable laws and regulations.'."\n" + .'- Temporary files uploaded through the debugging experience are valid for 1 hour and are automatically deleted by the system after 24 hours.'."\n" + ."\n" + .'## Billing description'."\n" + .'For information about the billable methods and pricing of white background image detection, see [Billing overview](~~202484~~).'."\n" + ."\n" + .'> The API debugging interface below is a paid interface. For a free trial, go to the [Experience Center](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectWhiteBaseImage).', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => '## SDK reference'."\n" + .'To use the white background image detection feature under the Alibaba Cloud Vision AI object detection category, we recommend that you use the SDK. The SDK supports multiple programming languages. When making calls, select the SDK package for the object detection (objectdet) category. The SDK supports local files and arbitrary URLs for file parameters. For more information, see [SDK overview](~~145033~~).'."\n" + ."\n" + .'## Sample code'."\n" + .'For sample code in commonly used languages, see [DetectWhiteBaseImage sample code](~~604401~~).', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectWhiteBaseImage'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'viapi-objectdet:DetectWhiteBaseImage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - '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', - ], + 'summary' => 'Syntax and examples for querying asynchronous task results using GetAsyncJobResult.', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1565,93 +1158,445 @@ [ 'name' => 'JobId', 'in' => 'formData', - 'schema' => [ - 'description' => '', - 'example' => '35B11E1B-800C-4598-B5AA-577E3BDBD917', - 'required' => true, - 'type' => 'string', - ], + 'schema' => ['description' => 'The RequestId returned by the asynchronous API. After entering it, you can query the actual request result of the asynchronous API.', 'type' => 'string', 'required' => true, 'example' => '35B11E1B-800C-4598-B5AA-577E3BDBD917', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '1', + 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'example' => '87FC80D2-2571-4BBD-BD61-AFF7912C556D', - 'type' => 'string', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '87FC80D2-2571-4BBD-BD61-AFF7912C556D', 'title' => ''], 'Data' => [ - 'description' => '', + 'description' => 'The returned result data.', + 'type' => 'object', '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', - ], + 'Status' => ['description' => 'The status of the asynchronous task. Valid values:'."\n" + ."\n" + .'- QUEUING: The task is queuing.'."\n" + .'- PROCESSING: The task is being processed.'."\n" + .'- PROCESS_SUCCESS: The task is processed.'."\n" + .'- PROCESS_FAILED: The task failed to be processed.'."\n" + .'- TIMEOUT_FAILED: The task timed out.'."\n" + .'- LIMIT_RETRY_FAILED: The maximum number of retries has been exceeded.', 'type' => 'string', 'example' => 'PROCESS_SUCCESS', 'title' => ''], + 'ErrorMessage' => ['description' => 'The error message of the asynchronous task.', 'type' => 'string', 'example' => 'paramsIllegal', 'title' => ''], + 'Result' => ['description' => 'The actual request result returned by the asynchronous task.', 'type' => 'string', '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}]}]}]}"}', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code of the asynchronous task.', 'type' => 'string', 'example' => 'InvalidParameter', 'title' => ''], + 'JobId' => ['description' => 'The ID of the asynchronous task.', 'type' => 'string', 'example' => '35B11E1B-800C-4598-B5AA-577E3BDBD917', 'title' => ''], ], - 'type' => 'object', + 'title' => '', + 'example' => '', ], ], - 'type' => 'object', + 'title' => '', + 'example' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterError', - 'errorMessage' => 'The parameter is invalid. Please check again.', - ], + ['errorCode' => 'ParameterError', 'errorMessage' => 'The parameter is invalid. Please check again.', 'description' => 'The parameter is invalid. Please check again.'], ], 403 => [ - [ - 'errorCode' => 'AuthFailed', - 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', - ], + ['errorCode' => 'AuthFailed', 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', 'description' => 'An error occurred while performing authorization. Please check your RAM configuration.'], ], 408 => [ - [ - 'errorCode' => 'Timeout', - 'errorMessage' => 'The request has timed out.', - ], + ['errorCode' => 'Timeout', 'errorMessage' => 'The request has timed out.', 'description' => 'The request has timed out.'], ], 503 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'The service is unavailable.', + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The service is unavailable.', 'description' => 'The service is unavailable.'], + ], + ], + 'responseDemo' => '[{"errorExample":"","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}","type":"json"}]', + 'title' => 'Query Asynchronous Task Results', + 'description' => '## Description'."\n" + .'After calling an asynchronous API, the returned result is not the actual request result. You need to save the RequestId from the returned result, and then call GetAsyncJobResult to obtain the actual request result.'."\n" + ."\n" + .'> - Files from asynchronous tasks have an expiration time of 30 minutes. For long-term use, you need to download the files to your local server or store them in OSS in a timely manner. For more information about OSS operations, see [Upload objects](~~31886~~).'."\n" + .'> - To contact us for Alibaba Cloud Visual Intelligence Open Platform visual AI capability API access, API usage, or consultation, please join the Alibaba Cloud Visual Intelligence Open Platform consultation group via DingTalk group (23109592).'."\n" + ."\n\n" + .'Currently, the DetectVideoIPCObject (IPC Video Object Detection) API in the Object Detection category is an asynchronous API. You need to call GetAsyncJobResult to obtain the actual request result.', + 'extraInfo' => '## Error Codes'."\n" + .'For error codes related to querying asynchronous task results, see [Common Error Codes](~~146760~~).'."\n" + ."\n" + .'## SDK Reference'."\n" + .'Alibaba Cloud Visual AI capabilities support SDK calls. For more information, see [SDK Overview](~~145033~~) to download and install.'."\n" + ."\n" + .'## Security Statement'."\n" + .'- Please ensure that the uploaded images or files comply with the relevant laws and regulations.'."\n" + .'- Temporary files uploaded through experience debugging are valid for 1 hour and will be automatically cleaned up and deleted by the system after 24 hours.', + 'changeSet' => [ + ['createdAt' => '2021-04-08T02:46:22.000Z', 'description' => 'OpenAPI offline'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAsyncJobResult'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'viapi-objectdet:GetAsyncJobResult', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - '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', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'objectdet.cn-shanghai.aliyuncs.com', 'endpoint' => 'objectdet.cn-shanghai.aliyuncs.com', 'vpc' => 'objectdet-vpc.cn-shanghai.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'AuthFailed', 'message' => 'An error occurred while performing authorization. Please check your RAM configuration.', 'http_code' => 403, 'description' => 'An error occurred while performing authorization. Please check your RAM configuration.'], + ['code' => 'ClientError.IllegalArgument', 'message' => 'The request parameter has an error.', 'http_code' => 400, 'description' => 'The request parameter has an error.'], + ['code' => 'Data.Exist', 'message' => 'The data already exists.', 'http_code' => 409, 'description' => 'The data already exists.'], + ['code' => 'EntityNotExist.Role', 'message' => '没有Ram权限,请联系主账号给你添加AliyunVIAPIFullAccess权限,操作流程可参考https://help.aliyun.com/document_detail/145025.htm', 'http_code' => 400, 'description' => ''], + ['code' => 'IllegalUrlParameter', 'message' => 'Url不合法,请检查url能否正常打开', 'http_code' => 400, 'description' => ''], + ['code' => 'InternalError', 'message' => 'An error occurred to the algorithm service.', 'http_code' => 500, 'description' => 'An internal error occurred.'], + ['code' => 'InternalError.Algo', 'message' => 'An algorithm error occurred.', 'http_code' => 500, 'description' => 'An algorithm error occurred.'], + ['code' => 'InternalError.Busy', 'message' => 'Server busy.', 'http_code' => 500, 'description' => ''], + ['code' => 'InternalError.Convert', 'message' => 'Failed to convert input parameters.', 'http_code' => 500, 'description' => ''], + ['code' => 'InternalError.Decode', 'message' => 'Failed to decode the image.', 'http_code' => 500, 'description' => ''], + ['code' => 'InternalError.Env', 'message' => 'Failed to initilize the environment.', 'http_code' => 500, 'description' => ''], + ['code' => 'InternalError.Mapping', 'message' => 'An algorithm error occurred.', 'http_code' => 500, 'description' => 'An algorithm error occurred.'], + ['code' => 'InternalError.Model', 'message' => 'Failed to load the model.', 'http_code' => 500, 'description' => ''], + ['code' => 'InternalError.Process', 'message' => 'An error occurred during inference.', 'http_code' => 500, 'description' => ''], + ['code' => 'InternalError.Remote', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 500, 'description' => ''], + ['code' => 'InternalError.Server', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 500, 'description' => ''], + ['code' => 'InternalError.Timeout', 'message' => 'The request has timed out.', 'http_code' => 500, 'description' => 'The request has timed out.'], + ['code' => 'InternalError.Transfer', 'message' => 'Failed to download or upload data. Procedure', 'http_code' => 500, 'description' => ''], + ['code' => 'InternalServerError', 'message' => 'A server error occurred while processing your request.', 'http_code' => 500, 'description' => ''], + ['code' => 'InvalidAccessKeyId.Inactive', 'message' => 'AccessKeyId非法,请检查AccessKeyId是否被禁用,或者AccessKeyId和AccessKeySecret是否填写正确。', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidAccessKeyId.NotFound', 'message' => 'AccessKeyId未找到,请检查AccessKeyId和AccessKeySecret是否填写正确。', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidAccessKeySecret', 'message' => 'AccessKeyId或AccessKeySecret填写错误,请检查AccessKeyId和AccessKeySecret是否填写正确。', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidAction.NotFound', 'message' => '能力未找到,请检查类目与能力是否匹配,检查访问域名与能力是否匹配,关于访问域名可参考:https://help.aliyun.com/document_detail/143103.htm。SDK接入请参考:https://help.aliyun.com/document_detail/145033.html,选择合适编程语言根据实例代码作相关修改进行接入。', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidApi.ForbiddenInvoke', 'message' => '调用受限,请检查您调用的能力是否为受限能力,受限能力需要在控制台https://vision.console.aliyun.com/找到相应能力申请经过审批之后才能调用。如非上述情况,请检查账号是否欠费', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidApi.NotPurchase', 'message' => '产品未开通,请开通产品:https://common-buy.aliyun.com/?commodityCode=viapi_objectdet_public_cn#/open', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidApi.OutOfService', 'message' => '产品未开通,请开通产品:https://common-buy.aliyun.com/?commodityCode=viapi_objectdet_public_cn#/open', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidFile.Content', 'message' => 'The content format of the image or video is invalid.', 'http_code' => 400, 'description' => 'The content format of the image or video is invalid.'], + ['code' => 'InvalidFile.Decode', 'message' => 'Failed to decode the file.', 'http_code' => 400, 'description' => 'Failed to decode the file.'], + ['code' => 'InvalidFile.Download', 'message' => 'Failed to download the file.', 'http_code' => 400, 'description' => 'Failed to download the file.'], + ['code' => 'InvalidFile.Region', 'message' => 'The URL format of the file is invalid.', 'http_code' => 400, 'description' => 'The URL format of the file is invalid.'], + ['code' => 'InvalidFile.Resolution', 'message' => 'The resolution of the image or video is invalid.', 'http_code' => 400, 'description' => 'The resolution of the image or video is invalid.'], + ['code' => 'InvalidFile.Type', 'message' => 'The file type of the image or video is invalid.', 'http_code' => 400, 'description' => 'The file type of the image or video is invalid.'], + ['code' => 'InvalidFile.Unsafe', 'message' => 'Risky file URL.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidFile.URL', 'message' => 'The URL format of the file is invalid.', 'http_code' => 400, 'description' => 'The URL format of the file is invalid.'], + ['code' => 'InvalidImage.Content', 'message' => '请参考算法文档检查图片内容,更换包含符合算法要求的', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidImage.Decode', 'message' => 'The content format of the image or video is invalid.', 'http_code' => 400, 'description' => 'The content format of the image or video is invalid.'], + ['code' => 'InvalidImage.Download', 'message' => 'Failed to download the file.', 'http_code' => 400, 'description' => 'Failed to download the file.'], + ['code' => 'InvalidImage.NotFound', 'message' => 'The image file is not found in the parameter.', 'http_code' => 404, 'description' => 'The image file is not found in the parameter.'], + ['code' => 'InvalidImage.NotFoundFace', 'message' => 'No face is detected in the specified image.', 'http_code' => 404, 'description' => 'No face is detected in the specified image.'], + ['code' => 'InvalidImage.Region', 'message' => 'The URL format of the file is invalid.', 'http_code' => 400, 'description' => 'The URL format of the file is invalid.'], + ['code' => 'InvalidImage.Resolution', 'message' => 'The resolution of the image or video is invalid.', 'http_code' => 400, 'description' => 'The resolution of the image or video is invalid.'], + ['code' => 'InvalidImage.Timeout', 'message' => 'Failed to download the file due to timeout.', 'http_code' => 400, 'description' => 'Failed to download the file due to timeout.'], + ['code' => 'InvalidImage.Type', 'message' => '图片类型错误,请检查图片类型 - 请参考算法API文档,使用算法支持的图片类型', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidImage.Unsafe', 'message' => 'Risky file URL.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidImage.URL', 'message' => 'The URL format of the file is invalid or URL access has failed.', 'http_code' => 400, 'description' => 'The URL format of the file is invalid or URL access has failed.'], + ['code' => 'InvalidImage.URL', 'message' => 'The URL format of the file is invalid.', 'http_code' => 400, 'description' => 'The URL format of the file is invalid.'], + ['code' => 'InvalidImageType', 'message' => 'Invalid image type.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidParameter', 'message' => 'Invalid parameter value.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidParameter.BadRequest', 'message' => 'The request parameter or the data has an error.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidParameter.NotFound', 'message' => 'The requested data is not found.', 'http_code' => 400, 'description' => 'The requested data is not found.'], + ['code' => 'InvalidParameter.TooLarge', 'message' => 'The file size exceeds the limit.', 'http_code' => 400, 'description' => 'The file size exceeds the limit.'], + ['code' => 'InvalidParameter.Type', 'message' => 'The data format of the request parameter is invalid.', 'http_code' => 400, 'description' => 'The data format of the request parameter is invalid.'], + ['code' => 'InvalidParameter.Unsuitable', 'message' => 'The data is empty or not suitable for processing.', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidParamter.Type', 'message' => 'The data format of the request parameter is invalid.', 'http_code' => 400, 'description' => 'The data format of the request parameter is invalid.'], + ['code' => 'InvalidRamRole', 'message' => '没有Ram权限,请联系主账号给你添加AliyunVIAPIFullAccess权限,操作流程可参考https://help.aliyun.com/document_detail/145025.htm', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidResult', 'message' => '参数错误,请参考文档检查参数值,检查文件内容。请检查是否图片内容不完整或者太模糊等。', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidSide', 'message' => 'Specified parameter Side is not valid. 请参考文档填写正确的Side参数', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidTimeStamp.Expired', 'message' => '时间戳过期,请更新时间戳', 'http_code' => 400, 'description' => ''], + ['code' => 'InvalidVersion', 'message' => 'Specified parameter Version is not valid', 'http_code' => 400, 'description' => ''], + ['code' => 'MissingAccessKeyId', 'message' => 'AccessKeyId未填写,请检查AccessKeyId和AccessKeySecret是否填写正确。', 'http_code' => 400, 'description' => ''], + ['code' => 'MissingFileURL', 'message' => 'FileURL is required for this operation.', 'http_code' => 400, 'description' => ''], + ['code' => 'MissingImageURL', 'message' => 'ImageURL is required for this operation.', 'http_code' => 400, 'description' => ''], + ['code' => 'MissingLimit', 'message' => 'Limit is required for this operation', 'http_code' => 400, 'description' => ''], + ['code' => 'MissingParameter', 'message' => 'A required parameter is not specified.', 'http_code' => 400, 'description' => ''], + ['code' => 'MissingTasks', 'message' => 'Tasks is required for this operation.', 'http_code' => 400, 'description' => ''], + ['code' => 'ParameterError', 'message' => 'The parameter is invalid. Please check again.', 'http_code' => 400, 'description' => 'The parameter is invalid. Please check again.'], + ['code' => 'QuotaExceeded.DbCount', 'message' => 'The number of database exceeds the limit.', 'http_code' => 400, 'description' => 'The number of database exceeds the limit.'], + ['code' => 'QuotaExceeded.FaceGroupCount', 'message' => 'The number of database exceeds the limit.', 'http_code' => 400, 'description' => 'The number of database exceeds the limit.'], + ['code' => 'QuotaExceeded.FaceImageCount', 'message' => 'The number of image or trace exceeds the limit.', 'http_code' => 400, 'description' => 'The number of image or trace exceeds the limit.'], + ['code' => 'QuotaExceeded.ImageCount', 'message' => 'The number of image or trace exceeds the limit.', 'http_code' => 400, 'description' => 'The number of image or trace exceeds the limit.'], + ['code' => 'Retry', 'message' => 'An error occurred due to jitter. Please try again.', 'http_code' => 449, 'description' => 'An error occurred due to jitter. Please try again.'], + ['code' => 'SDK.ServerUnreachable', 'message' => 'An SDK client error occurred.', 'http_code' => 400, 'description' => 'An SDK client error occurred.'], + ['code' => 'ServiceUnavailable', 'message' => 'The service is unavailable.', 'http_code' => 503, 'description' => 'The service is unavailable.'], + ['code' => 'ServiceUnavailable', 'message' => 'A network error occurred.', 'http_code' => 500, 'description' => 'A network error occurred.'], + ['code' => 'SignatureDoesNotMatch', 'message' => '签名不正确,请重新计算签名。关于签名可参考文档:https://help.aliyun.com/document_detail/144904.html', 'http_code' => 400, 'description' => ''], + ['code' => 'SignatureNonceUsed', 'message' => '签名已经被使用过,请重新计算签名。关于签名可参考文档:https://help.aliyun.com/document_detail/144904.html', 'http_code' => 400, 'description' => ''], + ['code' => 'Throttling', 'message' => 'The request was denied due to QPS limits.', 'http_code' => 400, 'description' => 'The request was denied due to flow control.'], + ['code' => 'Throttling.User', 'message' => 'The request was denied due to QPS limits.', 'http_code' => 400, 'description' => ''], + ['code' => 'Timeout', 'message' => 'The request has timed out.', 'http_code' => 408, 'description' => 'The request has timed out.'], + ['code' => 'Unauthorized', 'message' => 'RAM authentication failed.', 'http_code' => 403, 'description' => 'RAM authentication failed.'], + ['code' => 'UnsupportedHTTPMethod', 'message' => 'The HTTP request method is not supported.', 'http_code' => 403, 'description' => ''], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'DetectMainBody'], + ['description' => 'Error codes changed', 'api' => 'DetectTransparentImage'], + ['description' => 'Error codes changed', 'api' => 'GenerateVehicleRepairPlan'], + ], + 'createdAt' => '2022-11-07T01:42:01.000Z', + 'description' => '调整用户和API调用频率', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DetectVideoIPCObject'], + ], + 'createdAt' => '2022-10-17T02:03:42.000Z', + 'description' => '修改异步任务Message为可见', + ], [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'objectdet.cn-shanghai.aliyuncs.com', + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DetectIPCObject'], + ['description' => 'Request parameters changed', 'api' => 'DetectKitchenAnimals'], + ['description' => 'Request parameters changed', 'api' => 'DetectVehicleICongestion'], + ['description' => 'Request parameters changed', 'api' => 'DetectVehicleIllegalParking'], + ['description' => 'Request parameters changed', 'api' => 'GetVehicleRepairPlan'], + ], + 'createdAt' => '2022-09-29T08:00:52.000Z', + 'description' => '多url参数支持本地文件上传', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DetectKitchenAnimals'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DetectVehicleICongestion'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'DetectVehicleIllegalParking'], + ['description' => 'Response parameters changed', 'api' => 'DetectVideoIPCObject'], + ], + 'createdAt' => '2022-09-27T09:40:15.000Z', + 'description' => '修改obj为可见', + ], + [ + 'apis' => [ + ['description' => 'Error codes changed', 'api' => 'ClassifyVehicleInsurance'], + ['description' => 'Error codes changed', 'api' => 'DetectVehicle'], + ['description' => 'Error codes changed', 'api' => 'GetVehicleRepairPlan'], + ['description' => 'Error codes changed', 'api' => 'RecognizeVehicleDamage'], + ['description' => 'Error codes changed', 'api' => 'RecognizeVehicleDashboard'], + ['description' => 'Error codes changed', 'api' => 'RecognizeVehicleParts'], + ], + 'createdAt' => '2022-03-30T09:08:25.000Z', + 'description' => '调整用户调用频率', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DetectWorkwear'], + ], + 'createdAt' => '2022-01-13T09:01:19.000Z', + 'description' => '修改参数属性', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DetectKitchenAnimals'], + ['description' => 'OpenAPI offline', 'api' => 'DetectWorkwear'], + ], + 'createdAt' => '2021-10-29T08:17:36.000Z', + 'description' => '新增猫鼠检测、着装检测pop', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DetectVehicleICongestion'], + ['description' => 'Request parameters changed', 'api' => 'DetectVehicleIllegalParking'], + ], + 'createdAt' => '2021-06-21T12:08:40.000Z', + 'description' => '新增可选入参 streamArn ', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DetectVideoFrame'], + ], + 'createdAt' => '2021-05-27T08:51:58.000Z', + 'description' => '新增API: 视频帧回调API,用来检测视频流中的目标等', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DetectVideoIPCObject'], + ], + 'createdAt' => '2021-04-25T07:55:19.000Z', + 'description' => '新增参数CallbackOnlyHasObject', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'DetectVideoIPCObject'], + ], + 'createdAt' => '2021-04-15T02:17:20.000Z', + 'description' => '新增入参StartTimestamp', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'DetectVideoIPCObject'], + ], + 'createdAt' => '2021-04-08T11:34:47.000Z', + 'description' => '新增输出字段inputFile', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'DetectVideoIPCObject'], + ['description' => 'OpenAPI offline', 'api' => 'GetAsyncJobResult'], + ], + 'createdAt' => '2021-04-08T05:59:01.000Z', + 'description' => '新增API: DetectIPCObject', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAsyncJobResult'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectMainBody'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectVehicleICongestion'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectVehicleIllegalParking'], + ['threshold' => '2000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectIPCObject'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectWorkwear'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectKitchenAnimals'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectVideoIPCObject'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectWhiteBaseImage'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectObject'], + ], + ], + 'ram' => [ + 'productCode' => 'VisualIntelligenceAPI', + 'productName' => 'Visual Intelligence API', + 'ramCodes' => ['viapi-imageseg', 'viapi-imageaudit', 'viapi-ocr', 'viapi-objectdet', 'viapi-imageenhan', 'viapi-videorecog', 'viapi-imageprocess', 'viapi', 'viapi-ekyc', 'viapi-imgsearch', 'viapi-goodstech', 'viapi-facebody', 'viapi-threedvision', 'viapi-videoenhan', 'viapi-imagerecog', 'viapi-videoseg', 'viapi-regen', 'viapi-aigen'], + 'ramLevel' => 'SERVICE', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'DetectKitchenAnimals', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'viapi-objectdet:DetectKitchenAnimals', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DetectIPCObject', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'viapi-objectdet:DetectIPCObject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DetectWorkwear', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'viapi-objectdet:DetectWorkwear', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DetectVehicleICongestion', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'viapi-objectdet:DetectVehicleICongestion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetAsyncJobResult', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'viapi-objectdet:GetAsyncJobResult', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DetectVehicleIllegalParking', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'viapi-objectdet:DetectVehicleIllegalParking', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DetectWhiteBaseImage', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'viapi-objectdet:DetectWhiteBaseImage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DetectObject', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'viapi-objectdet:DetectObject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DetectVideoIPCObject', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'viapi-objectdet:DetectVideoIPCObject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DetectMainBody', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'viapi-objectdet:DetectMainBody', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'resourceTypes' => [], ], ]; -- cgit v1.2.3