自动驾驶云服务 OCTOPUS-3D点云检测:响应示例

时间:2025-05-26 15:02:18

响应示例

状态码:200

OK

{
  "label_counts" : [ {
    "label_meta_id" : 5414,
    "label_num" : 1,
    "label_meta_name" : "Car",
    "label_meta_desc" : "自采目标识别",
    "label_meta_attr" : "{\"优先级\":\"0,1\"}",
    "label_meta_shape" : "cube_3d",
    "label_meta_color" : "#d0021b"
  } ],
  "labels" : [ {
    "label_meta_id" : 5414,
    "name" : "Car",
    "shape_type" : "cube_3d",
    "attribute" : "",
    "label_meta_name" : "Car",
    "serial_number" : 0,
    "cube_3d" : {
      "rotation" : {
        "x" : 0,
        "y" : 0,
        "z" : 1.53980839
      },
      "serial_number" : 2,
      "location" : {
        "x" : 0.6671804785728455,
        "y" : 15.472203254699707,
        "z" : -1.1619998216629028
      },
      "attribute" : "{\"优先级\":\"1\"}",
      "dimensions" : {
        "length" : 4.557755470275879,
        "width" : 2.0348410606384277,
        "height" : 1.4403225183486938
      }
    }
  } ]
}

状态码:400

Bad Request

{
  "error_code" : "000003",
  "error_name" : "octopus_request_param_error",
  "error_msg" : "Request params [usage:TRAINING_TRAINC] is invalid.",
  "error_suggestion" : "Please confirm that the request params [usage:TRAINING_TRAINC] is correct.",
  "error_context" : "Field error on field: [usage], rejected value: [TRAINING_TRAINC]; Message: Value is not valid.",
  "current_time" : "2023-12-13T09:56:21Z"
}
support.huaweicloud.com/api-octopus/createPcdDetection.html