Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vtpc
Color-AE
Commits
b9f05c5b
Commit
b9f05c5b
authored
Feb 04, 2019
by
Aleksis Lurins
Browse files
Update image_utilities.py removed output
parent
304bbb57
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/utilities/image_utilities.py
src/utilities/image_utilities.py
+4
-4
No files found.
src/utilities/image_utilities.py
View file @
b9f05c5b
...
...
@@ -78,8 +78,8 @@ class ImageUtils(object):
self
.
save_img
(
img_resized
,
processed_filename
)
# Print process progress
print
(
"[{0}/{1}] Resized and saved to '{2}'..."
.
format
(
i
+
1
,
n_files
,
processed_filename
))
#
print("[{0}/{1}] Resized and saved to '{2}'...".format(
#
i+1, n_files, processed_filename))
"""
Read a raw directory of images, and load as numpy array to memory
...
...
@@ -110,8 +110,8 @@ class ImageUtils(object):
img_list
.
append
(
img_resizednorm
)
# Print process progress
print
(
"[{0}/{1}] Loaded and processed '{2}'..."
.
format
(
i
+
1
,
n_files
,
raw_filename
))
#
print("[{0}/{1}] Loaded and processed '{2}'...".format(
#
i + 1, n_files, raw_filename))
# Convert image list to numpy array
img_list
=
np
.
array
(
img_list
)
...
...
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