'1.0', 'info' => ['style' => 'RPC', 'product' => 'objectdet', 'version' => '2019-12-30'], 'directories' => [ [ 'children' => ['DetectVehicleICongestion'], 'type' => 'directory', 'title' => '车辆检测', 'id' => 357266, ], [ 'children' => ['DetectMainBody', 'DetectWhiteBaseImage', 'DetectObject', 'DetectIPCObject', 'DetectVideoIPCObject'], 'type' => 'directory', 'title' => '通用检测', 'id' => 357258, ], [ 'children' => ['GetAsyncJobResult'], 'type' => 'directory', 'title' => '通用接口', 'id' => 357269, ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'DetectIPCObject' => [ 'summary' => '本文为您介绍目标检测(objectdet)类目下的IPC图像目标检测DetectIPCObject的语法及示例。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => ['title' => '图片URL地址', 'description' => '图像URL地址。推荐使用上海地域的OSS链接,对于文件在本地或者非上海地域OSS链接的情况,请参见[文件URL处理](~~155645~~)。', 'type' => 'string', 'required' => true, 'example' => 'https://viapi-test.oss-cn-shanghai.aliyuncs.com/objectdet/detect-ipc-xxxx.jpg', 'isFileTransferUrl' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '7AE23740-A3E5-5607-8E10-895DCBD4C260'], 'Data' => [ 'description' => '返回的结果数据内容。', 'type' => 'object', 'properties' => [ 'Elements' => [ 'description' => '检测到的目标集合,如果没有目标则为空。', 'type' => 'array', 'items' => [ 'description' => '1', 'type' => 'object', 'properties' => [ 'Type' => ['description' => '检测框对应的物体名称,取值如下:'."\n" ."\n" .'- PERSON:人物'."\n" .'- VEHICLE:车辆'."\n" .'- CAT:猫'."\n" .'- DOG:狗', 'type' => 'string', 'example' => 'DOG'], 'Score' => ['description' => '检测框的置信度,取值范围\\[0.0,1.0]。', 'type' => 'number', 'format' => 'float', 'example' => '0.7138671875'], 'Box' => [ 'description' => '检测框坐标。', 'type' => 'array', 'items' => ['description' => '检测框坐标,单位像素,格式为\\[left, top, right, bottom]。', 'type' => 'integer', 'format' => 'int64', 'example' => '[10,150,1587,1193]'], ], 'TargetRate' => ['description' => '目标检测框的面积大小和图像大小的比例。取值范围\\[0.0,1.0],1.0表示全屏。', 'type' => 'number', 'format' => 'float', 'example' => '0.8566723958333333'], ], ], ], 'Width' => ['description' => '图像的宽度,单位像素。', 'type' => 'integer', 'format' => 'int64', 'example' => '1600'], 'Height' => ['description' => '图像的高度,单位像素。', 'type' => 'integer', 'format' => 'int64', 'example' => '1200'], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ParameterError', 'errorMessage' => 'The parameter is invalid. Please check again.', 'description' => ''], ], 403 => [ ['errorCode' => 'AuthFailed', 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', 'description' => ''], ], 408 => [ ['errorCode' => 'Timeout', 'errorMessage' => 'The request has timed out.', 'description' => ''], ], 503 => [ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The service is unavailable.', 'description' => ''], ], ], '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":""}]', 'title' => 'IPC图像目标检测', 'description' => '## 功能描述'."\n" .'IPC图像目标检测能力可以检测到输入图像中的目标物体,例如人、车辆、宠物等。'."\n" ."\n" .'> - 您可以进入[在线咨询](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2)获取在线人工帮助。'."\n" .'- 当前能力可在视觉智能开放平台有完整的免费产品体验,您可以单击[立即试用](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectIPCObject)对该能力进行更直观试用以及在线购买。'."\n" .'- 阿里云视觉智能开放平台视觉AI能力API接入、接口使用或问题咨询等,请通过钉钉群(23109592)加入阿里云视觉智能开放平台咨询群联系我们。'."\n" ."\n" .'## 应用场景'."\n" ."\n" .'- 智能看家:家中有人或宠物移动时可生成高精度视频,实现检测提醒功能。且可以关注宠物在家中的活动状况。'."\n" .'- 智能看店:可对门店起到安防作用,尤其是在夜间,可及时知道有人进店。'."\n" .'- 智能看厂:安全是厂区非常重要的事情,对于人员在岗以及人员入侵可以起到良好的监管作用。'."\n" ."\n" .'## 特色优势'."\n" ."\n" .'- 适用场景多:适应多种广泛的日常场景的目标检测,室内、室外、家居、店铺、商场、白天、夜间等。'."\n" .'- 检测范围广:可检测的目标大小范围广,适用于大目标检测,也适用于较远摄像头下的小目标检测。'."\n" .'- 检测效率高:高并发处理,处理时间短。'."\n" ."\n" .'## 接入指引'."\n" .'1. 注册阿里云账号:打开[阿里云官网](https://www.aliyun.com),在阿里云官网右上角,单击**立即注册**,按照操作提示完成账号注册。'."\n" .'2. 开通能力:请确保您已开通[目标检测服务](https://vision.aliyun.com/objectdet),若未开通服务请[立即开通](https://common-buy.aliyun.com/?commodityCode=viapi_objectdet_public_cn#/open)。'."\n" .'3. 创建AccessKey:请确保您已[创建AccessKey](~~175144~~),如果您使用的是子账号AccessKey,您需要给子账号赋予AliyunVIAPIFullAccess权限,具体操作,请参见[RAM授权](~~145025~~)。'."\n" .'4. 在线调试(可选):您可以通过[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)在线调试能力,查看完整的调用示例代码及SDK依赖信息,也可以下载完整的工程。'."\n" .'5. 开发接入步骤:'."\n" .'- 在[SDK总览](~~145033~~)中选择您要接入使用的SDK语言。'."\n" .'- 在对应语言的SDK文档中找到AI类目为目标检测(objectdet)类目的SDK包进行安装。'."\n" .'- 参考文档中提供的示例代码进行适当修改后调用。'."\n" ."\n" .'6. 示例代码:该能力常用语言的示例代码,请参见[IPC图像目标检测示例代码](~~604396~~)。'."\n" ."\n" .'7. 客户端直接调用:该能力常用的客户端调用方式包括以下几种。'."\n" .'- [Web前端直接调用](~~467779~~)'."\n" .'- [小程序场景下直接调用](~~467780~~)'."\n" .'- [Android端直接调用](~~467781~~)'."\n" .'- [iOS端直接调用](~~467782~~)'."\n" ."\n" .'## 输入限制'."\n" ."\n" .'- 图像格式:JPEG、JPG、PNG、BMP。'."\n" .'- 图像大小:不超过2 MB。'."\n" .'- 图像分辨率:大于20×20像素,小于1024×1024像素。并非越高清准确度越高,推荐值:最大边为640像素。'."\n" .'- URL地址中不能包含中文字符。'."\n" ."\n" .'## 计费说明'."\n" .'关于IPC图像目标检测的计费方式及报价,请参见[计费介绍](~~202484~~)。'."\n" ."\n" .'> 下方调试接口为付费接口,如需免费体验调试请前往[体验中心](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectIPCObject)。', 'responseParamsDescription' => '## SDK参考'."\n" .'阿里云视觉AI目标检测类目下的IPC图像目标检测能力推荐使用SDK调用,支持多种编程语言,调用时请选择AI类目为目标检测(objectdet)的SDK包,文件参数通过SDK调用可支持本地文件及任意URL,具体可参见[SDK总览](~~145033~~)。'."\n" ."\n" .'## 示例代码'."\n" .'该能力常用语言的示例代码,请参见[IPC图像目标检测示例代码](~~604396~~)。', 'extraInfo' => '## 错误码'."\n" .'关于IPC图像目标检测的错误码,详情请参见[常见错误码](~~146760~~)。'."\n" ."\n" .'## 安全声明'."\n" .'- 请确保上传的图片或文件来源符合相应的法律法规。'."\n" .'- 通过体验调试上传的临时文件有效期为1小时,在24小时后会被系统自动清理删除。', ], 'DetectMainBody' => [ 'methods' => ['post', 'get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'query', 'schema' => ['description' => '图像URL地址。推荐使用上海地域的OSS链接,对于文件在本地或者非上海地域OSS链接的情况,请参见[文件URL处理](~~155645~~)。', 'type' => 'string', 'required' => true, 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/objectdet/DetectMainBody/DetectMainBody1.jpg', 'isFileTransferUrl' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '2E59C333-5480-4231-A8AB-BEE1001EA7FE'], 'Data' => [ 'description' => '返回的结果数据内容。', 'type' => 'object', 'properties' => [ 'Location' => [ 'description' => '图像定位信息。', 'type' => 'object', 'properties' => [ 'Width' => ['description' => '元素宽度。', 'type' => 'integer', 'format' => 'int32', 'example' => '583'], 'Height' => ['description' => '元素高度。', 'type' => 'integer', 'format' => 'int32', 'example' => '320'], 'Y' => ['description' => '元素y坐标。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], 'X' => ['description' => '元素x坐标。', 'type' => 'integer', 'format' => 'int32', 'example' => '28'], ], ], ], ], ], 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ParameterError', 'errorMessage' => 'The parameter is invalid. Please check again.', 'description' => ''], ], 403 => [ ['errorCode' => 'AuthFailed', 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', 'description' => ''], ], 408 => [ ['errorCode' => 'Timeout', 'errorMessage' => 'The request has timed out.', 'description' => ''], ], 503 => [ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The service is unavailable.', 'description' => ''], ], ], '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":""}]', 'title' => '主体检测', 'summary' => '本文为您介绍目标检测(objectdet)类目下的主体检测DetectMainBody的语法及示例。', 'description' => '## 功能描述'."\n" .'主体检测能力对输入图片进行检测,输出主体定位信息。'."\n" ."\n" .'> - 您可以进入[在线咨询](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2)获取在线人工帮助。'."\n" .'- 当前能力可在视觉智能开放平台有完整的免费产品体验,您可以单击[立即试用](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectMainBody)对该能力进行更直观试用以及在线购买。'."\n" .'- 阿里云视觉智能开放平台视觉AI能力API接入、接口使用或问题咨询等,请通过钉钉群(23109592)加入阿里云视觉智能开放平台咨询群联系我们。'."\n" ."\n" .'## 接入指引'."\n" .'1. 注册阿里云账号:打开[阿里云官网](https://www.aliyun.com),在阿里云官网右上角,单击**立即注册**,按照操作提示完成账号注册。'."\n" .'2. 开通能力:请确保您已开通[目标检测服务](https://vision.aliyun.com/objectdet),若未开通服务请[立即开通](https://common-buy.aliyun.com/?commodityCode=viapi_objectdet_public_cn#/open)。'."\n" .'3. 创建AccessKey:请确保您已[创建AccessKey](~~175144~~),如果您使用的是子账号AccessKey,您需要给子账号赋予AliyunVIAPIFullAccess权限,具体操作,请参见[RAM授权](~~145025~~)。'."\n" .'4. 在线调试(可选):您可以通过[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)在线调试能力,查看完整的调用示例代码及SDK依赖信息,也可以下载完整的工程。'."\n" ."\n" .'5. 开发接入步骤:'."\n" .'- 在[SDK总览](~~145033~~)中选择您要接入使用的SDK语言。'."\n" .'- 在对应语言的SDK文档中找到AI类目为目标检测(objectdet)类目的SDK包进行安装。'."\n" .'- 参考文档中提供的示例代码进行适当修改后调用。'."\n" ."\n" .'6. 示例代码:该能力常用语言的示例代码,请参见[主体检测示例代码](~~604398~~)。'."\n" ."\n" .'7. 客户端直接调用:该能力常用的客户端调用方式包括以下几种。'."\n" .'- [Web前端直接调用](~~467779~~)'."\n" .'- [小程序场景下直接调用](~~467780~~)'."\n" .'- [Android端直接调用](~~467781~~)'."\n" .'- [iOS端直接调用](~~467782~~)'."\n" ."\n" .'## 输入限制'."\n" ."\n" .'- 图像格式:PNG(不支持8位、16位和64位的PNG)、JPG、JPEG、BMP。'."\n" .'- 图像大小:不超过3 MB。'."\n" .'- 图像分辨率:小于1280×1280像素。'."\n" .'- URL地址中不能包含中文字符。'."\n" ."\n" .'## 计费说明'."\n" .'关于主体检测的计费方式及报价,请参见[计费介绍](~~202484~~)。'."\n" ."\n" .'> 下方调试接口为付费接口,如需免费体验调试请前往[体验中心](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectMainBody)。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => '## SDK参考'."\n" .'阿里云视觉AI目标检测类目下的主体检测能力推荐使用SDK调用,支持多种编程语言,调用时请选择AI类目为目标检测(objectdet)的SDK包,文件参数通过SDK调用可支持本地文件及任意URL,具体可参见[SDK总览](~~145033~~)。'."\n" ."\n" .'## 示例代码'."\n" .'该能力常用语言的示例代码,请参见[主体检测示例代码](~~604398~~)。', 'extraInfo' => '## 错误码'."\n" .'关于主体检测的错误码,详情请参见[常见错误码](~~146760~~)。'."\n" ."\n\n" .'## 安全声明'."\n" .'- 请确保上传的图片或文件来源符合相应的法律法规。'."\n" .'- 通过体验调试上传的临时文件有效期为1小时,在24小时后会被系统自动清理删除。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectMainBody'], ], ], ], 'DetectObject' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => ['description' => '图像URL地址。推荐使用上海地域的OSS链接,对于文件在本地或者非上海地域OSS链接的情况,请参见[文件URL处理](~~155645~~)。', 'type' => 'string', 'required' => true, 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/objectdet/DetectObject/DetectObject1.jpg', 'isFileTransferUrl' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6EF97B44-2763-4EAD-8737-FB9F5EE25FE2'], 'Data' => [ 'description' => '返回的结果数据内容。', 'type' => 'object', 'properties' => [ 'Elements' => [ 'description' => '检测框数据集合。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Type' => ['description' => '检测框对应的物体名称。具体类型如下所示。', 'type' => 'string', 'example' => 'chair'], 'Boxes' => [ 'type' => 'array', 'items' => ['description' => '检测框坐标,格式为`[left, top, right, bottom]`。', 'type' => 'integer', 'format' => 'int32', 'example' => '[468, 238, 531, 299]'], 'description' => '', ], 'Score' => ['description' => '检测到物体的置信度,取值范围为0~1。', 'type' => 'number', 'format' => 'float', 'example' => '0.266'], ], 'description' => '', ], ], 'Width' => ['description' => '图片的宽度。', 'type' => 'integer', 'format' => 'int32', 'example' => '533'], 'Height' => ['description' => '图片的高度。', 'type' => 'integer', 'format' => 'int32', 'example' => '300'], ], ], ], 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ParameterError', 'errorMessage' => 'The parameter is invalid. Please check again.', 'description' => ''], ], 403 => [ ['errorCode' => 'AuthFailed', 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', 'description' => ''], ], 408 => [ ['errorCode' => 'Timeout', 'errorMessage' => 'The request has timed out.', 'description' => ''], ], 503 => [ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The service is unavailable.', 'description' => ''], ], ], '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":""}]', 'title' => '物体检测', 'summary' => '本文为您介绍目标检测(objectdet)类目下的物体检测DetectObject的语法及示例。', 'description' => '## 功能描述'."\n" .'物体检测能力可以检测输入图像中的物体。'."\n" .'关于该接口功能的示例图如下:'."\n" .'![](https://static-aliyun-doc.oss-cn-hangzhou.aliyuncs.com/file-manage-files/zh-CN/20230213/tusk/DetectObject.png" width="600)'."\n" ."\n" .'> - 您可以进入[在线咨询](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2)获取在线人工帮助。'."\n" .'- 当前能力可在视觉智能开放平台有完整的免费产品体验,您可以单击[立即试用](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectObject)对该能力进行更直观试用以及在线购买。'."\n" .'- 阿里云视觉智能开放平台视觉AI能力API接入、接口使用或问题咨询等,请通过钉钉群(23109592)加入阿里云视觉智能开放平台咨询群联系我们。'."\n" ."\n" .'## 接入指引'."\n" .'1. 注册阿里云账号:打开[阿里云官网](https://www.aliyun.com),在阿里云官网右上角,单击**立即注册**,按照操作提示完成账号注册。'."\n" .'2. 开通能力:请确保您已开通[目标检测服务](https://vision.aliyun.com/objectdet),若未开通服务请[立即开通](https://common-buy.aliyun.com/?commodityCode=viapi_objectdet_public_cn#/open)。'."\n" .'3. 创建AccessKey:请确保您已[创建AccessKey](~~175144~~),如果您使用的是子账号AccessKey,您需要给子账号赋予AliyunVIAPIFullAccess权限,具体操作,请参见[RAM授权](~~145025~~)。'."\n" .'4. 在线调试(可选):您可以通过[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)在线调试能力,查看完整的调用示例代码及SDK依赖信息,也可以下载完整的工程。'."\n" .'5. 开发接入步骤:'."\n" ."\n" .'- 在[SDK总览](~~145033~~)中选择您要接入使用的SDK语言。'."\n" .'- 在对应语言的SDK文档中找到AI类目为目标检测(objectdet)类目的SDK包进行安装。'."\n" .'- 参考文档中提供的示例代码进行适当修改后调用。'."\n" ."\n" .'6. 示例代码:该能力常用语言的示例代码,请参见[物体检测示例代码](~~604395~~)。'."\n" ."\n" .'7. 客户端直接调用:该能力常用的客户端调用方式包括以下几种。'."\n" .'- [Web前端直接调用](~~467779~~)'."\n" .'- [小程序场景下直接调用](~~467780~~)'."\n" .'- [Android端直接调用](~~467781~~)'."\n" .'- [iOS端直接调用](~~467782~~)'."\n" ."\n" .'## 输入限制'."\n" ."\n" .'- 图像格式:JPEG、JPG、PNG、BMP。'."\n" .'- 图像大小:不超过3 MB。'."\n" .'- 图像分辨率:大于20×20像素,小于4096×4096像素。'."\n" .'- URL地址中不能包含中文字符。'."\n" ."\n" .'## 计费说明'."\n" .'关于物体检测的计费方式及报价,请参见[计费介绍](~~202484~~)。'."\n" ."\n" .'> 下方调试接口为付费接口,如需免费体验调试请前往[体验中心](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectObject)。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => '## Type类型包括:'."\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\n" .'## SDK参考'."\n" .'阿里云视觉AI目标检测类目下的物体检测能力推荐使用SDK调用,支持多种编程语言,调用时请选择AI类目为目标检测(objectdet)的SDK包,文件参数通过SDK调用可支持本地文件及任意URL,具体可参见[SDK总览](~~145033~~)。'."\n" ."\n" .'## 示例代码'."\n" .'该能力常用语言的示例代码,请参见[物体检测示例代码](~~604395~~)。'."\n", 'extraInfo' => '## 错误码'."\n" .'关于物体检测的错误码,详情请参见[常见错误码](~~146760~~)。'."\n" ."\n" .'## 安全声明'."\n" .'- 请确保上传的图片或文件来源符合相应的法律法规。'."\n" .'- 通过体验调试上传的临时文件有效期为1小时,在24小时后会被系统自动清理删除。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectObject'], ], ], ], 'DetectVehicleICongestion' => [ 'summary' => '本文为您介绍目标检测(objectdet)类目下的车辆拥堵检测DetectVehicleICongestion的语法及示例。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => ['title' => 'A short description of struct', 'description' => '图像URL地址。推荐使用上海地域的OSS链接,对于文件在本地或者非上海地域OSS链接的情况,请参见[文件URL处理](~~155645~~)。', 'type' => 'string', 'required' => true, 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/objectdet/DetectVehicleICongestion/DetectVehicleICongestion1.jpg', 'maxItems' => 1, 'minItems' => 20, 'isFileTransferUrl' => true], ], [ 'name' => 'RoadRegions', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '多个区域。格式为[RoadRegion\\_1, RoadRegion\\_2, ..., RoadRegion\\_N]。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'RoadRegion' => [ 'description' => '任意四边形的四个顶点的坐标X和Y,格式为`[x1,y1,x2,y2,x3,y3,x4,y4]`。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Point' => [ 'description' => '四边形的顶点坐标。', 'type' => 'object', 'properties' => [ 'X' => ['description' => '坐标点的X值。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '400'], 'Y' => ['description' => '坐标点的Y值。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '400'], ], 'required' => true, ], ], 'required' => false, 'description' => '', ], 'required' => true, ], ], 'required' => false, 'description' => '', ], 'required' => true, ], ], [ 'name' => 'PreRegionIntersectFeatures', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '前一帧画面与各个指定区域相交集的车辆检测框对应的车辆特征。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Features' => [ 'description' => '特征为Base64编码的字符串。', 'type' => 'array', 'items' => ['description' => 'Base64编码的字符串。文件的Base64编码处理操作,请参见[文件Base64处理](~~468191~~)。', 'type' => 'string', 'required' => false, 'example' => 'AEAMQQAAAA****ABhC'], 'required' => false, ], ], 'required' => false, 'description' => '', ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '4FC381BB-04F2-50F4-B54B-593042BCF3C6'], 'Data' => [ 'description' => '返回的结果数据内容。', 'type' => 'object', 'properties' => [ 'Elements' => [ 'description' => '车辆检测框的集合。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Boxes' => [ 'description' => '检测框坐标,格式为`[left, top, right, bottom]`。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Left' => ['description' => '矩形区域的左上角横轴坐标。', 'type' => 'integer', 'format' => 'int64', 'example' => '341'], 'Top' => ['description' => '矩形区域的左上角纵轴坐标。', 'type' => 'integer', 'format' => 'int64', 'example' => '434'], 'Right' => ['description' => '矩形区域的右下角横轴坐标。', 'type' => 'integer', 'format' => 'int64', 'example' => '589'], 'Bottom' => ['description' => '矩形区域的右下角纵轴坐标。', 'type' => 'integer', 'format' => 'int64', 'example' => '576'], ], 'description' => '', ], ], 'Score' => ['description' => '检测框的置信度,范围为`[0,1]`。', 'type' => 'number', 'format' => 'float', 'example' => '0.962890625'], 'TypeName' => ['description' => '检测框对应的物体。取值仅为`vehicle`。', 'type' => 'string', 'example' => 'vehicle'], 'Id' => ['description' => '检测框ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], 'description' => '', ], ], 'RegionIntersectFeatures' => [ 'description' => '与各个指定区域相交集的车辆检测框对应的车辆特征。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Features' => [ 'description' => '特征为Base64编码的字符串。文件的Base64编码处理操作,请参见[文件Base64处理](~~468191~~)。', 'type' => 'array', 'items' => ['description' => '此Base64编码用于匹配两帧之间的车辆是否为同一车辆。文件的Base64编码处理操作,请参见[文件Base64处理](~~468191~~)。', 'type' => 'string', 'example' => 'AEAMQQAAAA****ABhC'], ], ], 'description' => '', ], ], 'RegionIntersectMatched' => [ 'description' => '判断当前帧的RegionIntersectFeatures与PreRegionIntersectFeatures中哪一个特征是匹配的。', 'type' => 'array', 'items' => [ 'description' => '1', 'type' => 'object', 'properties' => [ 'Ids' => [ 'description' => '输出匹配的特征IDx。', 'type' => 'array', 'items' => ['description' => '当两帧之间的两个车辆是匹配时,说明该车辆在两帧之间的时间内存在滞留或拥堵现象。'."\n" ."\n" .' > **-1**代表没有匹配的特征,如果匹配将显示对应检测框ID。例如,车辆检测框ID为`[1,2,3]`,RegionIntersectMatched显示为`[-1,-1,-1]`,则表示三个区域均没有匹配,RegionIntersectMatched显示为`[-1,2,3]`,则表示区域1未匹配,区域2和3匹配。', 'type' => 'integer', 'format' => 'int64', 'example' => '[-1,-1,-1]'], ], ], ], ], 'RegionIntersects' => [ 'description' => '与各个指定区域相交集的车辆检测框对应的车辆特征。'."\n" ."\n" .'例如,返回结果为[ {"Ids":[1,3]}, {"Ids":[2,4]} ],其中{"Ids":[1,3]}是与区域1相交集的车辆检测框的ID, {"Ids":[2,4]}是与区域2相交集的车辆检测框的ID。当车辆出现在给定区域内,说明存在车辆占道的情况。'."\n" ."\n" .'除了**RegionIntersects**里包含的ID的检测框外,其它的检测框为区域外的检测框。', 'type' => 'array', 'items' => [ 'description' => '1', 'type' => 'object', 'properties' => [ 'Ids' => [ 'description' => '与各个指定区域相交集的车辆检测框的多个ID。', 'type' => 'array', 'items' => ['description' => '与各个指定区域相交集的车辆检测框的多个ID。'."\n" ."\n" .'例如,{"Ids":[1,3]}是与相应区域相交集的车辆检测框的IDs。', 'type' => 'integer', 'format' => 'int64', 'example' => '[1,2,3]'], ], ], ], ], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ParameterError', 'errorMessage' => 'The parameter is invalid. Please check again.', 'description' => ''], ], 403 => [ ['errorCode' => 'AuthFailed', 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', 'description' => ''], ], 408 => [ ['errorCode' => 'Timeout', 'errorMessage' => 'The request has timed out.', 'description' => ''], ], 503 => [ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The service is unavailable.', 'description' => ''], ], ], '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":""}]', 'title' => '车辆拥堵检测', 'description' => '## 功能描述'."\n" .'车辆拥堵检测能力根据图片中的车辆,判断是否发生拥堵。'."\n" ."\n" .'> - 您可以进入[在线咨询](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2)获取在线人工帮助。'."\n" .'- 当前能力可在视觉智能开放平台有完整的免费产品体验,您可以单击[立即试用](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectVehicleICongestion)对该能力进行更直观试用以及在线购买。'."\n" .'- 阿里云视觉智能开放平台视觉AI能力API接入、接口使用或问题咨询等,请通过钉钉群(23109592)加入阿里云视觉智能开放平台咨询群联系我们。'."\n" ."\n" .'## 应用场景'."\n" ."\n" .'- 停车场拥堵检测:通过停车场摄像头间隔时间内捕捉的两张图像,检测车辆以及相对位置,判断是否发生拥堵。'."\n" .'- 道路拥堵检测:通过道路监控间隔时间内捕捉的前后图像,检测车辆以及相对位置,判断是否发生拥堵。'."\n" ."\n" .'## 特色优势'."\n" .'检测数据量少:无需较大数据量的视频,仅通过检测两张图片,即可判断是否发生拥堵。'."\n" ."\n" .'## 接入指引'."\n" .'1. 注册阿里云账号:打开[阿里云官网](https://www.aliyun.com),在阿里云官网右上角,单击**立即注册**,按照操作提示完成账号注册。'."\n" .'2. 开通能力:请确保您已开通[目标检测服务](https://vision.aliyun.com/objectdet),若未开通服务请[立即开通](https://common-buy.aliyun.com/?commodityCode=viapi_objectdet_public_cn#/open)。'."\n" .'3. 创建AccessKey:请确保您已[创建AccessKey](~~175144~~),如果您使用的是子账号AccessKey,您需要给子账号赋予AliyunVIAPIFullAccess权限,具体操作,请参见[RAM授权](~~145025~~)。'."\n" .'4. 在线调试(可选):您可以通过[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)在线调试能力,查看完整的调用示例代码及SDK依赖信息,也可以下载完整的工程。'."\n" ."\n" .'5. 开发接入步骤:'."\n" .'- 在[SDK总览](~~145033~~)中选择您要接入使用的SDK语言。'."\n" .'- 在对应语言的SDK文档中找到AI类目为目标检测(objectdet)类目的SDK包进行安装。'."\n" .'- 参考文档中提供的示例代码进行适当修改后调用。'."\n" ."\n" .'6. 客户端直接调用:该能力常用的客户端调用方式包括以下几种。'."\n" .'- [Web前端直接调用](~~467779~~)'."\n" .'- [小程序场景下直接调用](~~467780~~)'."\n" .'- [Android端直接调用](~~467781~~)'."\n" .'- [iOS端直接调用](~~467782~~)'."\n" ."\n" .'## 输入限制'."\n" ."\n" .'- 图像格式:JPEG、JPG、PNG、BMP。'."\n" .'- 图像大小:不超过500 KB。'."\n" .'- 图像分辨率:大于20×20像素,小于800×800像素,长宽比小于等于2。'."\n" .'- URL地址中不能包含中文字符。', 'responseParamsDescription' => '## SDK参考'."\n" .'阿里云视觉AI目标检测类目下的车辆拥堵检测能力推荐使用SDK调用,支持多种编程语言,调用时请选择AI类目为目标检测(objectdet)的SDK包,文件参数通过SDK调用可支持本地文件及任意URL,具体可参见[SDK总览](~~145033~~)。', 'extraInfo' => '## 错误码'."\n" .'关于车辆拥堵检测的错误码,详情请参见[常见错误码](~~146760~~)。'."\n" ."\n" .'## 安全声明'."\n" .'- 请确保上传的图片或文件来源符合相应的法律法规。'."\n" .'- 通过体验调试上传的临时文件有效期为1小时,在24小时后会被系统自动清理删除。', 'changeSet' => [ ['createdAt' => '2022-09-29T08:00:44.000Z', 'description' => '请求参数发生变更'], ['createdAt' => '2022-09-27T09:40:03.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], ['createdAt' => '2021-06-21T12:07:07.000Z', 'description' => '请求参数发生变更'], ], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectVehicleICongestion'], ], ], ], 'DetectVideoIPCObject' => [ 'summary' => '本文为您介绍目标检测(objectdet)类目下的IPC视频目标检测DetectVideoIPCObject的语法及示例。', 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ 'name' => 'VideoURL', 'in' => 'formData', 'schema' => ['title' => '视频文件URL地址', 'description' => '视频文件URL地址。推荐使用上海地域的OSS链接,对于文件在本地或者非上海地域OSS链接的情况,请参见[文件URL处理](~~155645~~)。', 'type' => 'string', 'required' => true, 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/objectdet/DetectVideoIPCObject/DetectVideoIPCObject1.mp4', 'isFileTransferUrl' => true], ], [ 'name' => 'StartTimestamp', 'in' => 'formData', 'schema' => ['title' => '视频的开始时间戳(秒),即UTC时间,默认为0', 'description' => '视频实际开始时间的时间戳。例如视频开始时间是2021年8月16日12:00,对应时间戳为1629086400。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '0', 'example' => '1629086400'], ], [ 'name' => 'CallbackOnlyHasObject', 'in' => 'formData', 'schema' => ['title' => '是否只有检测到物体才回调', 'description' => '是否回调消息过滤。'."\n" ."\n" .'- true:如果输入的视频中检测到有目标,才会执行回调,否则不执行。'."\n" .'- false: 无论是否检测到有目标,都执行回调。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'RequestId' => ['title' => 'JobId', 'description' => '请求ID。', 'type' => 'string', 'example' => '35B11E1B-800C-4598-B5AA-577E3BDBD917'], 'Message' => ['description' => '提交异步任务后的提示信息。', 'type' => 'string', 'example' => '该调用为异步调用,任务已提交成功,请以requestId的值作为jobId参数调用同类目下GetAsyncJobResult接口查询任务执行状态和结果。'], 'Data' => [ 'description' => '返回的结果数据内容。该数据需要在异步任务执行成功后,通过调用[GetAsyncJobResult](~~607824~~)接口,对其Result字段进行JSON反序列化之后得到。', 'type' => 'object', 'properties' => [ 'Width' => ['title' => '视频文件的分辨率(像素)', 'description' => '视频宽度分辨率,单位像素。', 'type' => 'integer', 'format' => 'int64', 'example' => '1280'], 'Height' => ['title' => '视频文件的分辨率(像素)', 'description' => '视频高度分辨率,单位像素。', 'type' => 'integer', 'format' => 'int64', 'example' => '720'], 'Frames' => [ 'title' => '视频帧的集合,未检测到目标的帧不列出', 'description' => '视频帧的集合,未检测到目标的帧不列出。', 'type' => 'array', 'items' => [ 'description' => '1', 'type' => 'object', 'properties' => [ 'Time' => ['title' => '视频帧时间,startTimestamp+视频帧的相对时间的值,单位毫秒,如果startTimestamp为空,则是相对时间', 'description' => '时间戳,单位秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '6124533574'], 'Elements' => [ 'description' => '检测到的目标集合,如果没有目标则为空。', 'type' => 'array', 'items' => [ 'description' => '1', 'type' => 'object', 'properties' => [ 'Type' => ['description' => '检测框对应的物体名称。取值如下:'."\n" ."\n" .'- PERSON:人'."\n" .'- VEHICLE:车辆'."\n" .'- PET:宠物', 'type' => 'string', 'example' => 'PERSON'], 'X' => ['description' => '左上角X轴坐标,单位像素。', 'type' => 'integer', 'format' => 'int64', 'example' => '289'], 'Y' => ['description' => '左上角Y轴坐标,单位像素。', 'type' => 'integer', 'format' => 'int64', 'example' => '271'], 'Width' => ['description' => '检测框宽度,单位像素。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], 'Height' => ['description' => '检测框高度,单位像素。', 'type' => 'integer', 'format' => 'int64', 'example' => '156'], 'Score' => ['description' => '检测框的置信度,取值范围为\\[0.0,1.0]。', 'type' => 'number', 'format' => 'float', 'example' => '0.7812'], ], ], ], ], ], ], 'InputFile' => ['title' => '输入文件信息', 'description' => '输入文件信息。', 'type' => 'string', 'example' => 'oss://viapi-test/viapi-3.0domepic/objectdet/DetectVideoIPCObject/DetectVideoIPCObject4.mp4'], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ParameterError', 'errorMessage' => 'The parameter is invalid. Please check again.', 'description' => ''], ], 403 => [ ['errorCode' => 'AuthFailed', 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', 'description' => ''], ], 408 => [ ['errorCode' => 'Timeout', 'errorMessage' => 'The request has timed out.', 'description' => ''], ], 503 => [ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The service is unavailable.', 'description' => ''], ], ], '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":""}]', 'title' => 'IPC视频目标检测', 'description' => '## 功能描述'."\n" .'IPC视频目标检测能力可以检测到输入视频中的目标物体,例如人、车辆、宠物等。'."\n" ."\n" .'> - 您可以进入[在线咨询](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2)获取在线人工帮助。'."\n" .'- 当前能力可在视觉智能开放平台有完整的免费产品体验,您可以单击[立即试用](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectVideoIPCObject)对该能力进行更直观试用以及在线购买。'."\n" .'- 阿里云视觉智能开放平台视觉AI能力API接入、接口使用或问题咨询等,请通过钉钉群(23109592)加入阿里云视觉智能开放平台咨询群联系我们。'."\n" ."\n" .'## 应用场景'."\n" ."\n" .'- 智能看家:家中有人或宠物移动时可生成高精度视频,实现检测提醒功能。且可以关注宠物在家中的活动状况。'."\n" .'- 智能看店:可对门店起到安防作用,尤其是在夜间,可及时知道有人进店。'."\n" .'- 智能看厂:安全是厂区非常重要的事情,对于人员在岗以及人员入侵可以起到良好的监管作用。'."\n" ."\n" .'## 特色优势'."\n" ."\n" .'- 适用场景多:适应多种广泛的日常场景的目标检测,室内、室外、家居、店铺、商场、白天、夜间等。'."\n" .'- 检测范围广:可检测的目标大小范围广,适用于大目标检测,也适用于较远摄像头下的小目标检测。'."\n" .'- 检测效率高:高并发处理,处理时间短。'."\n" ."\n\n" .'## 接入指引'."\n" .'1. 注册阿里云账号:打开[阿里云官网](https://www.aliyun.com),在阿里云官网右上角,单击**立即注册**,按照操作提示完成账号注册。'."\n" .'2. 开通能力:请确保您已开通[目标检测服务](https://vision.aliyun.com/objectdet),若未开通服务请[立即开通](https://common-buy.aliyun.com/?commodityCode=viapi_objectdet_public_cn#/open)。'."\n" .'3. 创建AccessKey:请确保您已[创建AccessKey](~~175144~~),如果您使用的是子账号AccessKey,您需要给子账号赋予AliyunVIAPIFullAccess权限,具体操作,请参见[RAM授权](~~145025~~)。'."\n" .'4. 在线调试(可选):您可以通过[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)在线调试能力,查看完整的调用示例代码及SDK依赖信息,也可以下载完整的工程。'."\n" ."\n" .'5. 开发接入步骤:'."\n" .'- 在[SDK总览](~~145033~~)中选择您要接入使用的SDK语言。'."\n" .'- 在对应语言的SDK文档中找到AI类目为目标检测(objectdet)类目的SDK包进行安装。'."\n" .'- 参考文档中提供的示例代码进行适当修改后调用。'."\n" ."\n" .'6. 示例代码:该能力常用语言查询异步任务结果的示例代码,请参见[查询异步任务结果示例代码](~~607974~~)。'."\n" ."\n" .'7. 客户端直接调用:该能力常用的客户端调用方式包括以下几种。'."\n" .'- [Web前端直接调用](~~467779~~)'."\n" .'- [小程序场景下直接调用](~~467780~~)'."\n" .'- [Android端直接调用](~~467781~~)'."\n" .'- [iOS端直接调用](~~467782~~)'."\n" ."\n" .'## 输入限制'."\n" ."\n" .'- 视频格式:H264、H265。'."\n" .'- 视频分辨率:大于20×20像素,小于4096×4096像素。'."\n" .'- 视频帧率:要求在35帧以内。'."\n" .'- 视频大小:不超过10 MB。'."\n" .'- 视频时长:不超过10秒。'."\n" .'- URL地址中不能包含中文字符。'."\n" ."\n" .'## 计费说明'."\n" .'关于IPC视频目标检测的计费方式及报价,请参见[计费介绍](~~202484~~)。'."\n" ."\n" .'> 下方调试接口为付费接口,如需免费体验调试请前往[体验中心](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectVideoIPCObject)。'."\n" ."\n" .'## 调用步骤'."\n" .'该能力为异步能力,需分两步进行调用。'."\n" .'第一步调用DetectVideoIPCObject接口提交任务,请求成功后,得到一个任务ID。'."\n" .'第二步调用[GetAsyncJobResult](~~607824~~)接口查询结果,根据任务ID查询任务执行状态和结果。如果任务还在处理中,可稍等一段时间后再进行查询。', 'responseParamsDescription' => '## 查询结果'."\n" .'该接口为异步接口,当前并未返回真实的请求结果,您需要通过返回的RequestId调用GetAsyncJobResult接口来获取该接口的真实请求结果。详情请参见[GetAsyncJobResult](~~607824~~)。'."\n" ."\n" .'## SDK参考'."\n" .'阿里云视觉AI目标检测类目下的IPC视频目标检测能力推荐使用SDK调用,支持多种编程语言,调用时请选择AI类目为目标检测(objectdet)的SDK包,文件参数通过SDK调用可支持本地文件及任意URL,具体可参见[SDK总览](~~145033~~)。'."\n" ."\n" .'## 示例代码'."\n" .'该能力常用语言查询异步任务结果的示例代码,请参见[查询异步任务结果示例代码](~~607974~~)。', 'extraInfo' => '## 错误码'."\n" .'关于IPC视频目标检测的错误码,详情请参见[常见错误码](~~146760~~)。'."\n" ."\n" .'## 安全声明'."\n" .'- 请确保上传的图片或文件来源符合相应的法律法规。'."\n" .'- 通过体验调试上传的临时文件有效期为1小时,在24小时后会被系统自动清理删除。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectVideoIPCObject'], ], ], ], 'DetectWhiteBaseImage' => [ 'methods' => ['post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'ImageURL', 'in' => 'formData', 'schema' => ['description' => '图像URL地址。推荐使用上海地域的OSS链接,对于文件在本地或者非上海地域OSS链接的情况,请参见[文件URL处理](~~155645~~)。', 'type' => 'string', 'required' => true, 'example' => 'http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/objectdet/DetectWhiteBaseImage/DetectWhiteBaseImage1.jpg', 'isFileTransferUrl' => true], ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '7A7F9EEB-44C4-4592-9089-A6185B222B23'], 'Data' => [ 'description' => '返回的结果数据内容。', 'type' => 'object', 'properties' => [ 'Elements' => [ 'description' => '返回判断结果。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'WhiteBase' => ['description' => '是否白底图。'."\n" ."\n" .'- 0:非白底'."\n" ."\n" .'- 1:白底'."\n" ."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '0'], ], 'description' => '', ], ], ], ], ], 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ParameterError', 'errorMessage' => 'The parameter is invalid. Please check again.', 'description' => ''], ], 403 => [ ['errorCode' => 'AuthFailed', 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', 'description' => ''], ], 408 => [ ['errorCode' => 'Timeout', 'errorMessage' => 'The request has timed out.', 'description' => ''], ], 503 => [ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The service is unavailable.', 'description' => ''], ], ], '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":""}]', 'title' => '白底图检测', 'summary' => '本文为您介绍目标检测(objectdet)类目下的白底图检测DetectWhiteBaseImage的语法及示例。', 'description' => '## 功能描述'."\n" .'白底图检测能力用于检测图片背景是否为白底图。'."\n" ."\n" .'> - 您可以进入[在线咨询](https://www.aliyun.com/core/online-consult?from=aZgW6LJHr2)获取在线人工帮助。'."\n" .'- 当前能力可在视觉智能开放平台有完整的免费产品体验,您可以单击[立即试用](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectWhiteBaseImage)对该能力进行更直观试用以及在线购买。'."\n" .'- 阿里云视觉智能开放平台视觉AI能力API接入、接口使用或问题咨询等,请通过钉钉群(23109592)加入阿里云视觉智能开放平台咨询群联系我们。'."\n" ."\n\n" .'## 接入指引'."\n" .'1. 注册阿里云账号:打开[阿里云官网](https://www.aliyun.com),在阿里云官网右上角,单击**立即注册**,按照操作提示完成账号注册。'."\n" .'2. 开通能力:请确保您已开通[目标检测服务](https://vision.aliyun.com/objectdet),若未开通服务请[立即开通](https://common-buy.aliyun.com/?commodityCode=viapi_objectdet_public_cn#/open)。'."\n" .'3. 创建AccessKey:请确保您已[创建AccessKey](~~175144~~),如果您使用的是子账号AccessKey,您需要给子账号赋予AliyunVIAPIFullAccess权限,具体操作,请参见[RAM授权](~~145025~~)。'."\n" .'4. 在线调试(可选):您可以通过[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)在线调试能力,查看完整的调用示例代码及SDK依赖信息,也可以下载完整的工程。'."\n" ."\n" .'5. 开发接入步骤:'."\n" .'- 在[SDK总览](~~145033~~)中选择您要接入使用的SDK语言。'."\n" .'- 在对应语言的SDK文档中找到AI类目为目标检测(objectdet)类目的SDK包进行安装。'."\n" .'- 参考文档中提供的示例代码进行适当修改后调用。'."\n" ."\n" .'6. 示例代码:该能力常用语言的示例代码,请参见[白底图检测示例代码](~~604401~~)。'."\n" ."\n" .'7. 客户端直接调用:该能力常用的客户端调用方式包括以下几种。'."\n" .'- [Web前端直接调用](~~467779~~)'."\n" .'- [小程序场景下直接调用](~~467780~~)'."\n" .'- [Android端直接调用](~~467781~~)'."\n" .'- [iOS端直接调用](~~467782~~)'."\n" ."\n" .'## 输入限制'."\n" .'- 图像格式:JPG、JPEG、PNG。'."\n" .'- 图像大小:不超过3 MB。'."\n" .'- 图像分辨率:大于32×32像素,小于1280×1280像素。'."\n" .'- URL地址中不能包含中文字符。'."\n" .'## 安全声明'."\n" .'- 请确保上传的图片或文件来源符合相应的法律法规。'."\n" .'- 通过体验调试上传的临时文件有效期为1小时,在24小时后会被系统自动清理删除。'."\n" .'## 计费说明'."\n" .'关于白底图检测的计费方式及报价,请参见[计费介绍](~~202484~~)。'."\n" ."\n" .'> 下方调试接口为付费接口,如需免费体验调试请前往[体验中心](https://vision.aliyun.com/experience/detail?&tagName=objectdet&children=DetectWhiteBaseImage)。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => '## SDK参考'."\n" .'阿里云视觉AI目标检测类目下的白底图检测能力推荐使用SDK调用,支持多种编程语言,调用时请选择AI类目为目标检测(objectdet)的SDK包,文件参数通过SDK调用可支持本地文件及任意URL,具体可参见[SDK总览](~~145033~~)。'."\n" ."\n" .'## 示例代码'."\n" .'该能力常用语言的示例代码,请参见[白底图检测示例代码](~~604401~~)。', 'changeSet' => [], 'flowControl' => [ 'flowControlList' => [ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetectWhiteBaseImage'], ], ], ], 'GetAsyncJobResult' => [ 'summary' => '查询异步任务结果GetAsyncJobResult的语法及示例。', 'methods' => ['get', 'post'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'JobId', 'in' => 'formData', 'schema' => ['description' => '异步接口返回的RequestId,输入后可以查询异步接口的真实请求结果。', 'type' => 'string', 'required' => true, 'example' => '35B11E1B-800C-4598-B5AA-577E3BDBD917'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'description' => '1', 'type' => 'object', 'properties' => [ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '87FC80D2-2571-4BBD-BD61-AFF7912C556D'], 'Data' => [ 'description' => '返回的结果数据内容。', 'type' => 'object', 'properties' => [ 'Status' => ['description' => '异步任务状态。包括:'."\n" ."\n" .'- QUEUING:任务排队中'."\n" .'- PROCESSING:异步处理中'."\n" .'- PROCESS_SUCCESS:处理成功'."\n" .'- PROCESS_FAILED:处理失败'."\n" .'- TIMEOUT_FAILED:任务超时未处理完成'."\n" .'- LIMIT_RETRY_FAILED:超过最大重试次数', 'type' => 'string', 'example' => 'PROCESS_SUCCESS'], 'ErrorMessage' => ['description' => '异步任务错误码信息。', 'type' => 'string', 'example' => 'paramsIllegal'], 'Result' => ['description' => '异步任务返回的真实请求结果。', '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}]}]}]}"}'], 'ErrorCode' => ['description' => '异步任务错误码。', 'type' => 'string', 'example' => 'InvalidParameter'], 'JobId' => ['description' => '异步任务ID。', 'type' => 'string', 'example' => '35B11E1B-800C-4598-B5AA-577E3BDBD917'], ], ], ], ], ], ], 'errorCodes' => [ 400 => [ ['errorCode' => 'ParameterError', 'errorMessage' => 'The parameter is invalid. Please check again.', 'description' => ''], ], 403 => [ ['errorCode' => 'AuthFailed', 'errorMessage' => 'An error occurred while performing authorization. Please check your RAM configuration.', 'description' => ''], ], 408 => [ ['errorCode' => 'Timeout', 'errorMessage' => 'The request has timed out.', 'description' => ''], ], 503 => [ ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'The service is unavailable.', 'description' => ''], ], ], '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":""}]', 'title' => '查询异步任务结果', 'description' => '## 功能描述'."\n" .'针对异步接口,调用API接口后,返回的并不是真正的请求结果,您需要保存返回结果中的RequestId,然后调用GetAsyncJobResult来获取真正的请求结果。'."\n" ."\n" .'> - 异步任务的文件有过期时间,有效期是30分钟。如需长期使用,需及时将文件下载到本地服务器或存储在OSS中。有关OSS更多操作信息,请参见[上传文件](~~31886~~)。'."\n" .'- 阿里云视觉智能开放平台视觉AI能力API接入、接口使用或问题咨询等,请通过钉钉群(23109592)加入阿里云视觉智能开放平台咨询群联系我们。'."\n" ."\n\n" .'当前目标检测类目中IPC视频目标检测(DetectVideoIPCObject)为异步接口,需要调用GetAsyncJobResult来获取真实的请求结果。', 'extraInfo' => '## 错误码'."\n" .'关于查询异步任务结果的错误码,详情请参见[常见错误码](~~146760~~)。'."\n" ."\n" .'## SDK参考'."\n" .'阿里云视觉AI能力支持使用SDK调用,具体可参见[SDK总览](~~145033~~)下载安装。'."\n" ."\n" .'## 安全声明'."\n" .'- 请确保上传的图片或文件来源符合相应的法律法规。'."\n" .'- 通过体验调试上传的临时文件有效期为1小时,在24小时后会被系统自动清理删除。', 'changeSet' => [ ['createdAt' => '2021-04-08T02:46:22.000Z', 'description' => 'OpenAPI 下线'], ], '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' => '全部资源', 'arn' => '*'], ], ], ], ], ], ], 'endpoints' => [ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', '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' => '授权失败,请检查RAM权限配置,操作流程可参考https://help.aliyun.com/document_detail/145025.htm。'], ['code' => 'ClientError.IllegalArgument', 'message' => 'The request parameter has an error.', 'http_code' => 400, 'description' => '请求参数错误,详情查看message信息'], ['code' => 'Data.Exist', 'message' => 'The data already exists.', 'http_code' => 409, 'description' => '数据已经存在'], ['code' => 'EntityNotExist.Role', 'message' => '没有Ram权限,请联系主账号给你添加AliyunVIAPIFullAccess权限,操作流程可参考https://help.aliyun.com/document_detail/145025.htm', 'http_code' => 400, 'description' => '没有Ram权限,请联系主账号给你添加AliyunVIAPIFullAccess权限,操作流程可参考https://help.aliyun.com/document_detail/145025.htm'], ['code' => 'IllegalUrlParameter', 'message' => 'Url不合法,请检查url能否正常打开', 'http_code' => 400, 'description' => 'Url不合法,请检查url能否正常打开 - 非上海OSS图片链接请参考:https://help.aliyun.com/document\\_detail/155645.html '], ['code' => 'InternalError', 'message' => 'An error occurred to the algorithm service.', 'http_code' => 500, 'description' => '算法服务报错,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。 '], ['code' => 'InternalError.Algo', 'message' => 'An algorithm error occurred.', 'http_code' => 500, 'description' => '算法服务报错,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。 '], ['code' => 'InternalError.Busy', 'message' => 'Server busy.', 'http_code' => 500, 'description' => '后台服务忙,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], ['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' => '图像解码失败,请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], ['code' => 'InternalError.Env', 'message' => 'Failed to initilize the environment.', 'http_code' => 500, 'description' => '初始化环境失败。请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], ['code' => 'InternalError.Mapping', 'message' => 'An algorithm error occurred.', 'http_code' => 500, 'description' => '内部算法处理错误'], ['code' => 'InternalError.Model', 'message' => 'Failed to load the model.', 'http_code' => 500, 'description' => '模型加载错误,请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], ['code' => 'InternalError.Process', 'message' => 'An error occurred during inference.', 'http_code' => 500, 'description' => '推理过程异常,请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], ['code' => 'InternalError.Remote', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 500, 'description' => '远程服务不可用,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], ['code' => 'InternalError.Server', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 500, 'description' => '系统内部错误,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], ['code' => 'InternalError.Timeout', 'message' => 'The request has timed out.', 'http_code' => 500, 'description' => '算法服务报错,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。 '], ['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' => '系统内部错误,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], ['code' => 'InvalidAccessKeyId.Inactive', 'message' => 'AccessKeyId非法,请检查AccessKeyId是否被禁用,或者AccessKeyId和AccessKeySecret是否填写正确。', 'http_code' => 400, 'description' => 'AccessKeyId非法,请检查AccessKeyId是否被禁用,或者AccessKeyId和AccessKeySecret是否填写正确。请参考文档:https://help.aliyun.com/document\\_detail/175144.html,进入控制台,将对应的AccessKey启用。 '], ['code' => 'InvalidAccessKeyId.NotFound', 'message' => 'AccessKeyId未找到,请检查AccessKeyId和AccessKeySecret是否填写正确。', 'http_code' => 400, 'description' => 'AccessKeyId未找到,请检查AccessKeyId和AccessKeySecret是否填写正确。请参考文档:https://help.aliyun.com/document\\_detail/175144.html,进入控制台,找到对应的AccessKeyId和AccessKeySecret。如果AccessKeySecret未保存,主账号可以通过查看Secret找回,子账号无法找回,可以新建一个AccessKey。 '], ['code' => 'InvalidAccessKeySecret', 'message' => 'AccessKeyId或AccessKeySecret填写错误,请检查AccessKeyId和AccessKeySecret是否填写正确。', 'http_code' => 400, 'description' => 'AccessKeyId或AccessKeySecret填写错误,请检查AccessKeyId和AccessKeySecret是否填写正确。请参考文档:https://help.aliyun.com/document\\_detail/175144.html,进入控制台,找到对应的AccessKeyId和AccessKeySecret。如果AccessKeySecret未保存,主账号可以通过查看Secret找回,子账号无法找回,可以新建一个AccessKey。 '], ['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' => '能力未找到,请检查类目与能力是否匹配,检查访问域名与能力是否匹配,关于访问域名可参考:https://help.aliyun.com/document_detail/143103.htm。SDK接入请参考:https://help.aliyun.com/document_detail/145033.html,选择合适编程语言根据实例代码作相关修改进行接入。'], ['code' => 'InvalidApi.ForbiddenInvoke', 'message' => '调用受限,请检查您调用的能力是否为受限能力,受限能力需要在控制台https://vision.console.aliyun.com/找到相应能力申请经过审批之后才能调用。如非上述情况,请检查账号是否欠费', 'http_code' => 400, 'description' => '调用受限,请检查您调用的能力是否为受限能力,受限能力需要在控制台https://vision.console.aliyun.com/找到相应能力申请经过审批之后才能调用。如非上述情况,请检查账号是否欠费'], ['code' => 'InvalidApi.NotPurchase', 'message' => '产品未开通,请开通产品:https://common-buy.aliyun.com/?commodityCode=viapi_objectdet_public_cn#/open', 'http_code' => 400, 'description' => '产品未开通,请开通产品:https://common-buy.aliyun.com/?commodityCode=viapi_objectdet_public_cn#/open'], ['code' => 'InvalidApi.OutOfService', 'message' => '产品未开通,请开通产品:https://common-buy.aliyun.com/?commodityCode=viapi_objectdet_public_cn#/open', 'http_code' => 400, 'description' => '产品未开通,请开通产品:https://common-buy.aliyun.com/?commodityCode=viapi_objectdet_public_cn#/open'], ['code' => 'InvalidFile.Content', 'message' => 'The content format of the image or video is invalid.', 'http_code' => 400, 'description' => '请参考算法文档检查文件内容,更换包含符合算法要求的 '], ['code' => 'InvalidFile.Decode', 'message' => 'Failed to decode the file.', 'http_code' => 400, 'description' => '请检查文件是否能够正常打开 '], ['code' => 'InvalidFile.Download', 'message' => 'Failed to download the file.', 'http_code' => 400, 'description' => '文件无法下载,请检查链接是否可访问和本地网络情况 - 非上海OSS图片链接请参考:https://help.aliyun.com/document\\_detail/155645.html。请检查OSS链接是否过期等。 '], ['code' => 'InvalidFile.Region', 'message' => 'The URL format of the file is invalid.', 'http_code' => 400, 'description' => '文件链接地域不对,非上海OSS文件链接请参考:https://help.aliyun.com/document\\_detail/155645.html '], ['code' => 'InvalidFile.Resolution', 'message' => 'The resolution of the image or video is invalid.', 'http_code' => 400, 'description' => '文件分辨率超出限制,请检查文件分辨率和内容,修改文件分辨率后重试 '], ['code' => 'InvalidFile.Type', 'message' => 'The file type of the image or video is invalid.', 'http_code' => 400, 'description' => '文件类型错误,请检查文件类型 - 请参考算法API文档,使用算法支持的文件类型。阿里云视觉智能开放平台能够读取文件并获取真实的文件类型,不是通过文件后缀名进行类型判断,只看文件后缀名是无效的,关于更多文件类型判断和处理信息可参考:https://help.aliyun.com/document_detail/470250.html'], ['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' => '文件无法下载,请检查链接是否可访问和本地网络情况 - 非上海OSS图片链接请参考:https://help.aliyun.com/document\\_detail/155645.html。请检查OSS链接是否过期等。 '], ['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' => '请检查图片是否能够正常打开 '], ['code' => 'InvalidImage.Download', 'message' => 'Failed to download the file.', 'http_code' => 400, 'description' => '图片无法下载,请检查链接是否可访问和本地网络情况 - 非上海OSS图片链接请参考:https://help.aliyun.com/document\\_detail/155645.html。URL中不支持空格和中文字符,如包含请通过urlEncode编码之后再传入。请检查OSS链接是否过期等。 '], ['code' => 'InvalidImage.NotFound', 'message' => 'The image file is not found in the parameter.', 'http_code' => 404, 'description' => '参数中的图片文件不存在'], ['code' => 'InvalidImage.NotFoundFace', 'message' => 'No face is detected in the specified image.', 'http_code' => 404, 'description' => '图像中没找到人脸,请检查您的图像中是否包含人脸或人脸太小 '], ['code' => 'InvalidImage.Region', 'message' => 'The URL format of the file is invalid.', 'http_code' => 400, 'description' => '图片链接地域不对,非上海OSS图片链接请参考:https://help.aliyun.com/document\\_detail/155645.html\\\\ '], ['code' => 'InvalidImage.Resolution', 'message' => 'The resolution of the image or video is invalid.', 'http_code' => 400, 'description' => '文件分辨率超出限制,请检查文件分辨率和内容,修改文件分辨率后重试 '], ['code' => 'InvalidImage.Timeout', 'message' => 'Failed to download the file due to timeout.', 'http_code' => 400, 'description' => '图片下载超时,请检查链接是否可访问和本地网络情况 - 非上海OSS图片链接请参考:https://help.aliyun.com/document\\_detail/155645.html。请检查OSS链接是否过期等。 '], ['code' => 'InvalidImage.Type', 'message' => '图片类型错误,请检查图片类型 - 请参考算法API文档,使用算法支持的图片类型', 'http_code' => 400, 'description' => '图片类型错误,请检查图片类型 - 请参考算法API文档,使用算法支持的图片类型'], ['code' => 'InvalidImage.Unsafe', 'message' => 'Risky file URL.', 'http_code' => 400, 'description' => 'URL不安全。请确保上传的图片或文件来源符合相应的法律法规。'], ['code' => 'InvalidImage.URL', 'message' => 'The URL format of the file is invalid or URL access has failed.', 'http_code' => 400, 'description' => '图片链接非法,请检查图片链接是否可访问 - 非上海OSS图片链接请参考:https://help.aliyun.com/document\\_detail/155645.html。对于上海oss链接请使用标准的oss域名,目前暂不支持绑定cdn域名和自定义域名。 '], ['code' => 'InvalidImage.URL', 'message' => 'The URL format of the file is invalid.', 'http_code' => 400, 'description' => '图片链接非法,请检查图片链接是否可访问 - 非上海OSS图片链接请参考:https://help.aliyun.com/document\\_detail/155645.html。对于上海oss链接请使用标准的oss域名,目前暂不支持绑定cdn域名和自定义域名。 '], ['code' => 'InvalidImageType', 'message' => 'Invalid image type.', 'http_code' => 400, 'description' => '无效的图片类型。请参考调用能力的文档输入文档中支持的图片类型。'], ['code' => 'InvalidParameter', 'message' => 'Invalid parameter value.', 'http_code' => 400, 'description' => '参数错误,请根据算法API文档和报错Message检查参数值。是否参数值前后多了空格或者其他特殊字符等。 '], ['code' => 'InvalidParameter.BadRequest', 'message' => 'The request parameter or the data has an error.', 'http_code' => 400, 'description' => '参数错误,请根据算法API文档和报错Message检查参数值。是否参数值前后多了空格或者其他特殊字符等。 '], ['code' => 'InvalidParameter.NotFound', 'message' => 'The requested data is not found.', 'http_code' => 400, 'description' => '参数错误,请根据算法API文档和报错Message检查参数值。是否参数值前后多了空格或者其他特殊字符等。 '], ['code' => 'InvalidParameter.TooLarge', 'message' => 'The file size exceeds the limit.', 'http_code' => 400, 'description' => '参数错误,文件大小超出限制,请参考算法API文档调整文件大小 '], ['code' => 'InvalidParameter.Type', 'message' => 'The data format of the request parameter is invalid.', 'http_code' => 400, 'description' => '请求参数的数据格式错误'], ['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' => '请求参数的数据格式错误'], ['code' => 'InvalidRamRole', 'message' => '没有Ram权限,请联系主账号给你添加AliyunVIAPIFullAccess权限,操作流程可参考https://help.aliyun.com/document_detail/145025.htm', 'http_code' => 400, 'description' => '没有Ram权限,请联系主账号给你添加AliyunVIAPIFullAccess权限,操作流程可参考https://help.aliyun.com/document_detail/145025.htm'], ['code' => 'InvalidResult', 'message' => '参数错误,请参考文档检查参数值,检查文件内容。请检查是否图片内容不完整或者太模糊等。', 'http_code' => 400, 'description' => '参数错误,请参考文档检查参数值,检查文件内容。请检查是否图片内容不完整或者太模糊等。'], ['code' => 'InvalidSide', 'message' => 'Specified parameter Side is not valid. 请参考文档填写正确的Side参数', 'http_code' => 400, 'description' => 'Specified parameter Side is not valid. 请参考文档填写正确的Side参数'], ['code' => 'InvalidTimeStamp.Expired', 'message' => '时间戳过期,请更新时间戳', 'http_code' => 400, 'description' => '时间戳过期,请更新时间戳。可以参考https://help.aliyun.com/document\\_detail/144904.html文档计算请求签名。如果您的语言比较常用,推荐使用SDK进行调用,详情可参考:https://help.aliyun.com/document\\_detail/145033.html '], ['code' => 'InvalidVersion', 'message' => 'Specified parameter Version is not valid', 'http_code' => 400, 'description' => '版本未找到,请检查SDK版本是否匹配,检查版本与类目和能力是否匹配,关于SDK版本可参考:https://help.aliyun.com/document_detail/145033.html'], ['code' => 'MissingAccessKeyId', 'message' => 'AccessKeyId未填写,请检查AccessKeyId和AccessKeySecret是否填写正确。', 'http_code' => 400, 'description' => 'AccessKeyId未填写,请检查AccessKeyId和AccessKeySecret是否填写正确。请参考文档:https://help.aliyun.com/document\\_detail/175144.html,进入控制台,找到对应的AccessKeyId和AccessKeySecret。如果AccessKeySecret未保存,主账号可以通过查看Secret找回,子账号无法找回,可以新建一个AccessKey。 '], ['code' => 'MissingFileURL', 'message' => 'FileURL is required for this operation.', 'http_code' => 400, 'description' => '缺少文件参数FileURL,该参数为文件URL地址,文件输入推荐使用华东2(上海)区域的OSS链接-非上海OSS文件链接请参考:'."\n" .'https://help.aliyun.com/document_detail/155645.html'], ['code' => 'MissingImageURL', 'message' => 'ImageURL is required for this operation.', 'http_code' => 400, 'description' => '缺少图像参数ImageURL,该参数为图片URL地址,文件输入推荐使用华东2(上海)区域的OSS链接-非上海OSS文件链接请参考:'."\n" .'https://help.aliyun.com/document_detail/155645.html'], ['code' => 'MissingLimit', 'message' => 'Limit is required for this operation', 'http_code' => 400, 'description' => '缺少Limit参数,该参数是接口必填参数。推荐使用对应类目的SDK进行调用:https://help.aliyun.com/document_detail/145033.html'], ['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' => '缺少Tasks参数,该参数是接口必填参数。推荐使用对应类目的SDK进行调用:https://help.aliyun.com/document_detail/145033.html'], ['code' => 'ParameterError', 'message' => 'The parameter is invalid. Please check again.', 'http_code' => 400, 'description' => '参数错误,请检查参数值。'], ['code' => 'QuotaExceeded.DbCount', 'message' => 'The number of database exceeds the limit.', 'http_code' => 400, 'description' => '数据库数量超出限制'], ['code' => 'QuotaExceeded.FaceGroupCount', 'message' => 'The number of database exceeds the limit.', 'http_code' => 400, 'description' => '数据库数量超出限制'], ['code' => 'QuotaExceeded.FaceImageCount', 'message' => 'The number of image or trace exceeds the limit.', 'http_code' => 400, 'description' => '人脸、Trace数量超出限制,请根据文档中的限制检查,如需调整限制,请通过钉钉群(23109592)联系我们。'], ['code' => 'QuotaExceeded.ImageCount', 'message' => 'The number of image or trace exceeds the limit.', 'http_code' => 400, 'description' => '人脸、Trace数量超出限制,请根据文档中的限制检查,如需调整限制,请通过钉钉群(23109592)联系我们。'], ['code' => 'Retry', 'message' => 'An error occurred due to jitter. Please try again.', 'http_code' => 449, 'description' => '由于网络抖动等偶发原因导致失败,需要重试'], ['code' => 'SDK.ServerUnreachable', 'message' => 'An SDK client error occurred.', 'http_code' => 400, 'description' => 'SDK端错误'], ['code' => 'ServiceUnavailable', 'message' => 'The service is unavailable.', 'http_code' => 503, 'description' => '服务不可用,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], ['code' => 'ServiceUnavailable', 'message' => 'A network error occurred.', 'http_code' => 500, 'description' => '算法服务报错,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。 '], ['code' => 'SignatureDoesNotMatch', 'message' => '签名不正确,请重新计算签名。关于签名可参考文档:https://help.aliyun.com/document_detail/144904.html', 'http_code' => 400, 'description' => '签名不正确,请重新计算签名。可以参考https://help.aliyun.com/document\\_detail/144904.html文档计算请求签名。如果您的语言比较常用,推荐使用SDK进行调用,详情可参考:https://help.aliyun.com/document\\_detail/145033.html '], ['code' => 'SignatureNonceUsed', 'message' => '签名已经被使用过,请重新计算签名。关于签名可参考文档:https://help.aliyun.com/document_detail/144904.html', 'http_code' => 400, 'description' => '签名已经被使用过,请重新计算签名。可以参考https://help.aliyun.com/document\\_detail/144904.html文档计算请求签名。如果您的语言比较常用,推荐使用SDK进行调用,详情可参考:https://help.aliyun.com/document\\_detail/145033.html '], ['code' => 'Throttling', 'message' => 'The request was denied due to QPS limits.', 'http_code' => 400, 'description' => '调用被限流,请稍后再调用,或者购买QPS提升调用限制。关于QPS限制提升流程和处理请参考:https://help.aliyun.com/document_detail/604963.html。如果因业务需求需要更多QPS可通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群与平台取得联系。'], ['code' => 'Throttling.User', 'message' => 'The request was denied due to QPS limits.', 'http_code' => 400, 'description' => '调用被限流,请稍后再调用,或者购买QPS提升调用限制。关于QPS限制提升流程和处理请参考:https://help.aliyun.com/document_detail/604963.html。如果因业务需求需要更多QPS可通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群与平台取得联系。'], ['code' => 'Timeout', 'message' => 'The request has timed out.', 'http_code' => 408, 'description' => '请求超时,请稍后重试。如重试后还报错请通过钉钉搜索群号23109592,加入阿里云视觉智能开放平台咨询群,与平台取得联系。'], ['code' => 'Unauthorized', 'message' => 'RAM authentication failed.', 'http_code' => 403, 'description' => '没有Ram权限,请联系主账号给你添加AliyunVIAPIFullAccess权限,操作流程可参考https://help.aliyun.com/document\\_detail/145025.htm '], ['code' => 'UnsupportedHTTPMethod', 'message' => 'The HTTP request method is not supported.', 'http_code' => 403, 'description' => 'HTTP请求方法不支持。建议查看各个产品的API调用方式文档。'], ], 'changeSet' => [ [ 'apis' => [ ['description' => '错误码发生变更', 'api' => 'DetectMainBody'], ['description' => '错误码发生变更', 'api' => 'DetectTransparentImage'], ['description' => '错误码发生变更', 'api' => 'GenerateVehicleRepairPlan'], ], 'createdAt' => '2022-11-07T01:42:01.000Z', 'description' => '调整用户和API调用频率', ], [ 'apis' => [ ['description' => '响应参数发生变更', 'api' => 'DetectVideoIPCObject'], ], 'createdAt' => '2022-10-17T02:03:42.000Z', 'description' => '修改异步任务Message为可见', ], [ 'apis' => [ ['description' => '请求参数发生变更', 'api' => 'DetectIPCObject'], ['description' => '请求参数发生变更', 'api' => 'DetectKitchenAnimals'], ['description' => '请求参数发生变更', 'api' => 'DetectVehicleICongestion'], ['description' => '请求参数发生变更', 'api' => 'DetectVehicleIllegalParking'], ['description' => '请求参数发生变更', 'api' => 'GetVehicleRepairPlan'], ], 'createdAt' => '2022-09-29T08:00:52.000Z', 'description' => '多url参数支持本地文件上传', ], [ 'apis' => [ ['description' => '响应参数发生变更', 'api' => 'DetectKitchenAnimals'], ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DetectVehicleICongestion'], ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DetectVehicleIllegalParking'], ['description' => '响应参数发生变更', 'api' => 'DetectVideoIPCObject'], ], 'createdAt' => '2022-09-27T09:40:15.000Z', 'description' => '修改obj为可见', ], [ 'apis' => [ ['description' => '错误码发生变更', 'api' => 'ClassifyVehicleInsurance'], ['description' => '错误码发生变更', 'api' => 'DetectVehicle'], ['description' => '错误码发生变更', 'api' => 'GetVehicleRepairPlan'], ['description' => '错误码发生变更', 'api' => 'RecognizeVehicleDamage'], ['description' => '错误码发生变更', 'api' => 'RecognizeVehicleDashboard'], ['description' => '错误码发生变更', 'api' => 'RecognizeVehicleParts'], ], 'createdAt' => '2022-03-30T09:08:25.000Z', 'description' => '调整用户调用频率', ], [ 'apis' => [ ['description' => '请求参数发生变更', 'api' => 'DetectWorkwear'], ], 'createdAt' => '2022-01-13T09:01:19.000Z', 'description' => '修改参数属性', ], [ 'apis' => [ ['description' => 'OpenAPI 下线', 'api' => 'DetectKitchenAnimals'], ['description' => 'OpenAPI 下线', 'api' => 'DetectWorkwear'], ], 'createdAt' => '2021-10-29T08:17:36.000Z', 'description' => '新增猫鼠检测、着装检测pop', ], [ 'apis' => [ ['description' => '请求参数发生变更', 'api' => 'DetectVehicleICongestion'], ['description' => '请求参数发生变更', 'api' => 'DetectVehicleIllegalParking'], ], 'createdAt' => '2021-06-21T12:08:40.000Z', 'description' => '新增可选入参 streamArn ', ], [ 'apis' => [ ['description' => 'OpenAPI 下线', 'api' => 'DetectVideoFrame'], ], 'createdAt' => '2021-05-27T08:51:58.000Z', 'description' => '新增API: 视频帧回调API,用来检测视频流中的目标等', ], [ 'apis' => [ ['description' => '请求参数发生变更', 'api' => 'DetectVideoIPCObject'], ], 'createdAt' => '2021-04-25T07:55:19.000Z', 'description' => '新增参数CallbackOnlyHasObject', ], [ 'apis' => [ ['description' => '请求参数发生变更', 'api' => 'DetectVideoIPCObject'], ], 'createdAt' => '2021-04-15T02:17:20.000Z', 'description' => '新增入参StartTimestamp', ], [ 'apis' => [ ['description' => '响应参数发生变更', 'api' => 'DetectVideoIPCObject'], ], 'createdAt' => '2021-04-08T11:34:47.000Z', 'description' => '新增输出字段inputFile', ], [ 'apis' => [ ['description' => 'OpenAPI 下线', 'api' => 'DetectVideoIPCObject'], ['description' => 'OpenAPI 下线', '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' => '视觉智能开放平台', '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' => '服务级', 'ramConditions' => [], 'ramActions' => [ [ 'apiName' => 'DetectKitchenAnimals', 'description' => '猫鼠识别', 'operationType' => '', 'ramAction' => [ 'action' => 'viapi-objectdet:DetectKitchenAnimals', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DetectIPCObject', 'description' => 'IPC图像目标检测', 'operationType' => 'create', 'ramAction' => [ 'action' => 'viapi-objectdet:DetectIPCObject', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DetectWorkwear', 'description' => '着装检测', 'operationType' => '', 'ramAction' => [ 'action' => 'viapi-objectdet:DetectWorkwear', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DetectVehicleICongestion', 'description' => '车辆拥堵检测', 'operationType' => 'create', 'ramAction' => [ 'action' => 'viapi-objectdet:DetectVehicleICongestion', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'GetAsyncJobResult', 'description' => '查询异步任务结果', 'operationType' => '', 'ramAction' => [ 'action' => 'viapi-objectdet:GetAsyncJobResult', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DetectVehicleIllegalParking', 'description' => '车辆违停检测', 'operationType' => 'create', 'ramAction' => [ 'action' => 'viapi-objectdet:DetectVehicleIllegalParking', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DetectWhiteBaseImage', 'description' => '白底图检测', 'operationType' => '', 'ramAction' => [ 'action' => 'viapi-objectdet:DetectWhiteBaseImage', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DetectObject', 'description' => '物体检测', 'operationType' => 'create', 'ramAction' => [ 'action' => 'viapi-objectdet:DetectObject', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DetectVideoIPCObject', 'description' => 'IPC视频目标检测', 'operationType' => 'create', 'ramAction' => [ 'action' => 'viapi-objectdet:DetectVideoIPCObject', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], [ 'apiName' => 'DetectMainBody', 'description' => '主体检测', 'operationType' => '', 'ramAction' => [ 'action' => 'viapi-objectdet:DetectMainBody', 'authLevel' => 'operate', 'actionConditions' => [], 'resources' => [ ['validationType' => 'always', 'product' => 'VisualIntelligenceAPI', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], 'resourceTypes' => [], ], ];