Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
bc999986
Unverified
Commit
bc999986
authored
Jun 25, 2021
by
xiaoting
Committed by
GitHub
Jun 25, 2021
Browse files
Merge pull request #3185 from LDOUBLEV/fix_vis
save visualized image
parents
7363d2f9
42853ff0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/infer/predict_det.py
tools/infer/predict_det.py
+1
-1
No files found.
tools/infer/predict_det.py
View file @
bc999986
...
...
@@ -235,5 +235,5 @@ if __name__ == "__main__":
img_name_pure
=
os
.
path
.
split
(
image_file
)[
-
1
]
img_path
=
os
.
path
.
join
(
draw_img_save
,
"det_res_{}"
.
format
(
img_name_pure
))
cv2
.
imwrite
(
img_path
,
src_im
)
logger
.
info
(
"The visualized image saved in {}"
.
format
(
img_path
))
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