云地图服务 KOOMAP-视觉定位:请求示例

时间:2024-11-05 10:17:14

请求示例

vps请求体示例,image信息xxx需改为图片base64编码。

POST https://{Endpoint}.com/v1/algo/vps

{
  "payload" : {
    "user" : {
      "vpsType" : "GVPS",
      "vpsMode" : "FullMode",
      "requestType" : 3,
      "image" : "xxx"
    },
    "camera" : {
      "fx" : 1120,
      "fy" : 1120,
      "cx" : 720,
      "cy" : 540
    },
    "slam" : [ {
      "x" : "3457914.888789408",
      "y" : "43.618999587185016",
      "z" : "-366678.1012069998",
      "qx" : "-0.6027525895972902",
      "qy" : "0.6696625505117437",
      "qz" : "-0.31343264698264584",
      "qw" : "0.30000227171514465",
      "mode" : "0",
      "index" : "4"
    } ],
    "imu" : [ {
      "azimuth" : "38.6508926149583",
      "pitch" : "-3.3327073554530315",
      "roll" : "85.58219500612942",
      "qx" : "0.6383440820986672",
      "qy" : "-0.25189259238432615",
      "qz" : "-0.21407681135529025",
      "qw" : "0.6951532824524337",
      "accuracy" : "0"
    } ],
    "gps" : [ {
      "longitude" : "xxx",
      "latitude" : "xxx",
      "accuracy" : "12"
    } ]
  }
}
support.huaweicloud.com/api-koomap/StartVps.html