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
3625762c
Commit
3625762c
authored
Aug 18, 2020
by
李梓桢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update imageAnnotation.py
parent
abd81d99
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
imageAnnotation.py
DAPlatform/views/imageAnnotation.py
+2
-2
No files found.
DAPlatform/views/imageAnnotation.py
View file @
3625762c
...
...
@@ -31,7 +31,7 @@ def get_image():
# 保存图片标注结果
@image.route
(
"/image/saveImage"
,
methods
=
[
"POST"
])
def
save_image
():
data
=
json
.
loads
(
request
.
data
)
data
=
json
.
loads
(
request
.
data
.
decode
(
'utf-8'
)
)
image_list
=
data
[
'imageList'
]
ret
=
Image
.
saveImage
(
image_list
)
res
=
{
...
...
@@ -61,7 +61,7 @@ def get_layer():
# 保存图层标注结果
@image.route
(
"/layer/saveLayer"
,
methods
=
[
"POST"
])
def
save_layer
():
data
=
json
.
loads
(
request
.
data
)
data
=
json
.
loads
(
request
.
data
.
decode
(
'utf-8'
)
)
layer_info
=
data
[
'layerInfo'
]
landmark_info
=
None
if
'landmarkInfo'
in
data
:
...
...
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