全部产品
云市场

获取智能审核结果摘要

更新时间:2019-02-18 12:09:26

描述

获取智能审核结果摘要信息。

注意:审核结果的图片资源仅在点播提供的免费存储上保留2周,超过2周将自动删除。

请求参数

名称 类型 必填项 描述
Action String 操作接口名。系统规定参数,取值:GetMediaAuditResult
MediaId String 视频ID。

返回参数

名称 类型 必填项 描述
RequestId String 请求ID。
MediaAuditResult MediaAuditResult 审核结果。

API示例

请求示例

  1. http://vod.cn-shanghai.aliyuncs.com/?Action=GetMediaAuditResult&MediaId=XXXXXX&Format=JSON&<公共参数>

注意:示例中的“公共参数”参见 公共参数说明文档

返回示例

  1. {
  2. "RequestId":"CB7D7232-1AB2-40FE-B8D5-XXXXXX",
  3. "MediaAuditResult":{
  4. "AbnormalModules":"video",
  5. "Label":"porn",
  6. "Suggestion":"review",
  7. "VideoResult":{
  8. "Suggestion":"review",
  9. "TerrorismResult":{
  10. "TopList":[
  11. {
  12. "Score":"100.0000000000",
  13. "Label":"normal",
  14. "Timestamp":"3005",
  15. "Url":"http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg"
  16. },
  17. {
  18. "Score":"100.0000000000",
  19. "Label":"normal",
  20. "Timestamp":"15005",
  21. "Url":"http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg"
  22. }
  23. ],
  24. "Suggestion":"pass",
  25. "MaxScore":"100.0000000000",
  26. "AverageScore":"100.0000000000",
  27. "Label":"normal",
  28. "CounterList":[
  29. {
  30. "Label":"terrorism",
  31. "Count":0
  32. },
  33. {
  34. "Label":"outfit",
  35. "Count":0
  36. },
  37. {
  38. "Label":"logo",
  39. "Count":0
  40. },
  41. {
  42. "Label":"weapon",
  43. "Count":0
  44. },
  45. {
  46. "Label":"politics",
  47. "Count":0
  48. },
  49. {
  50. "Label":"others",
  51. "Count":0
  52. },
  53. {
  54. "Label":"normal",
  55. "Count":16
  56. }
  57. ]
  58. },
  59. "Label":"porn",
  60. "PornResult":{
  61. "TopList":[
  62. {
  63. "Score":"92.4800000000",
  64. "Label":"sexy",
  65. "Timestamp":"1005",
  66. "Url":"http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg"
  67. },
  68. {
  69. "Score":"91.8200000000",
  70. "Label":"sexy",
  71. "Timestamp":"9005",
  72. "Url":"http://temp-testbucket.oss-cn-shanghai.aliyuncs.com/aivideocensor/xxxxx.jpg"
  73. }
  74. ],
  75. "Suggestion":"review",
  76. "MaxScore":"92.4800000000",
  77. "AverageScore":"81.7066666667",
  78. "Label":"sexy",
  79. "CounterList":[
  80. {
  81. "Label":"porn",
  82. "Count":0
  83. },
  84. {
  85. "Label":"sexy",
  86. "Count":6
  87. },
  88. {
  89. "Label":"normal",
  90. "Count":10
  91. }
  92. ]
  93. }
  94. },
  95. "ImageResult":[
  96. {
  97. "Suggestion":"pass",
  98. "Type":"cover",
  99. "Label":"normal",
  100. "Url":"http://www.test.com/xxxxxx.jpg",
  101. "Result":[
  102. {
  103. "Suggestion":"pass",
  104. "Score":"65.25",
  105. "Label":"normal",
  106. "Scene":"porn"
  107. },
  108. {
  109. "Suggestion":"pass",
  110. "Score":"100.0",
  111. "Label":"normal",
  112. "Scene":"terrorism"
  113. }
  114. ]
  115. }
  116. ],
  117. "TextResult":[
  118. {
  119. "Suggestion":"pass",
  120. "Type":"title",
  121. "Score":"99.91",
  122. "Content":"1111",
  123. "Label":"normal",
  124. "Scene":"antispam"
  125. }
  126. ]
  127. }
  128. }

SDK示例

建议使用 服务端SDK 来调用API,此API各语言调用的示例代码,请参考如下: