文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit 538cff80 by convivae

图像部分接口文档修改

parent b94623d7
......@@ -61,3 +61,93 @@ def save_layer():
'data': ret.data
}
return json.dumps(res)
# 保存图片标注结果的测试数据
# meta = {
# "imageList": [
# {
# "relationId": 123,
# "imageUrl": "tom@qq.com",
# "labelList": [
# {
# "labelId": 123,
# "labelName": "标注",
# "pointList": [
# {
# "pointId": 14,
# "X": 234,
# "Y": 14.25
# }
# ]
# }
# ]
# },
# {
# "relationId": 156,
# "imageUrl": "jerry@qq.com",
# "labelList": [
# {
# "labelId": 13,
# "labelName": "标注",
# "pointList": [
# {
# "pointId": 145,
# "X": 2.834,
# "Y": 145
# }
# ]
# }
# ]
# }
# ]
# }
# 保存图层标注结果的测试数据
# meta = {
# "layerList": [
# {
# "relationId": 8,
# "layerEntityList": [
# {
# "layerId": 7,
# "layerName": "layerNo1",
# "layerUrl": "www.layerNo1.com"
# }
# ],
# "labelList": [
# {
# "labelId": 181,
# "labelName": "label01",
# "pointList": [
# {
# "pointId": 21,
# "X": 211.01,
# "Y": 211.02
# }
# ]
# }
# ]
# }
# ],
# "landmarkList": [
# {
# "relationId": 1,
# "layerEntityList": [
# {
# "layerId": 3,
# "layerName": "layerNo3",
# "layerUrl": "www.layerNo3.com"
# }
# ],
# "landmarkEntityList": [
# {
# "landmarkId": 31,
# "landmarkName": "landmark31",
# "X": 31.1,
# "Y": 31.2
# }
# ]
# }
# ]
# }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment