Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DA-Platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
文档服务地址:
http://47.92.0.57:3000/
周报索引地址:
http://47.92.0.57:3000/s/NruNXRYmV
Open sidebar
Berlin
DA-Platform
Commits
538cff80
Commit
538cff80
authored
Jun 22, 2020
by
convivae
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图像部分接口文档修改
parent
b94623d7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
90 additions
and
0 deletions
+90
-0
imageAnnotation.py
DAPlatform/views/imageAnnotation.py
+90
-0
图像标注接口文档.docx
文档/图像标注接口文档.docx
+0
-0
No files found.
DAPlatform/views/imageAnnotation.py
View file @
538cff80
...
@@ -61,3 +61,93 @@ def save_layer():
...
@@ -61,3 +61,93 @@ def save_layer():
'data'
:
ret
.
data
'data'
:
ret
.
data
}
}
return
json
.
dumps
(
res
)
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
# }
# ]
# }
# ]
# }
文档/图像标注接口文档.docx
View file @
538cff80
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment