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
OpenDAS
dlib
Commits
ad9a9e6e
Commit
ad9a9e6e
authored
Jul 02, 2015
by
Davis King
Browse files
A minor optimization
parent
a8568a35
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
tools/imglab/src/main.cpp
tools/imglab/src/main.cpp
+4
-0
No files found.
tools/imglab/src/main.cpp
View file @
ad9a9e6e
...
...
@@ -344,6 +344,10 @@ int tile_dataset(const command_line_parser& parser)
console_progress_indicator
pbar
(
data
.
images
.
size
());
for
(
unsigned
long
i
=
0
;
i
<
data
.
images
.
size
();
++
i
)
{
// don't even bother loading images that don't have objects.
if
(
data
.
images
[
i
].
boxes
.
size
()
==
0
)
continue
;
pbar
.
print_status
(
i
);
array2d
<
rgb_pixel
>
img
;
load_image
(
img
,
data
.
images
[
i
].
filename
);
...
...
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