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
f169133b
Commit
f169133b
authored
Feb 13, 2016
by
Davis King
Browse files
Made imglab look for gif files when scanning folders for images.
parent
02fe9a36
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/imglab/src/main.cpp
tools/imglab/src/main.cpp
+1
-1
No files found.
tools/imglab/src/main.cpp
View file @
f169133b
...
@@ -60,7 +60,7 @@ void create_new_dataset (
...
@@ -60,7 +60,7 @@ void create_new_dataset (
// then parser[i] should be a directory
// then parser[i] should be a directory
std
::
vector
<
file
>
files
=
get_files_in_directory_tree
(
parser
[
i
],
std
::
vector
<
file
>
files
=
get_files_in_directory_tree
(
parser
[
i
],
match_endings
(
".png .PNG .jpeg .JPEG .jpg .JPG .bmp .BMP .dng .DNG"
),
match_endings
(
".png .PNG .jpeg .JPEG .jpg .JPG .bmp .BMP .dng .DNG
.gif .GIF
"
),
depth
);
depth
);
sort
(
files
.
begin
(),
files
.
end
());
sort
(
files
.
begin
(),
files
.
end
());
...
...
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