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
2a0b4619
Commit
2a0b4619
authored
Sep 29, 2016
by
Eugene
Committed by
Davis E. King
Sep 28, 2016
Browse files
fixed warning about unsigned-signed comparison in imgtool (#258)
parent
4dd5cb78
Changes
1
Hide 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 @
2a0b4619
...
@@ -557,7 +557,7 @@ int resample_dataset(const command_line_parser& parser)
...
@@ -557,7 +557,7 @@ int resample_dataset(const command_line_parser& parser)
const
size_t
obj_size
=
get_option
(
parser
,
"cropped-object-size"
,
100
*
100
);
const
size_t
obj_size
=
get_option
(
parser
,
"cropped-object-size"
,
100
*
100
);
const
double
margin_scale
=
get_option
(
parser
,
"crop-size"
,
2.5
);
// cropped image will be this times wider than the object.
const
double
margin_scale
=
get_option
(
parser
,
"crop-size"
,
2.5
);
// cropped image will be this times wider than the object.
const
long
min_object_size
=
get_option
(
parser
,
"min-object-size"
,
1
);
const
unsigned
long
min_object_size
=
get_option
(
parser
,
"min-object-size"
,
1
);
dlib
::
image_dataset_metadata
::
dataset
data
,
resampled_data
;
dlib
::
image_dataset_metadata
::
dataset
data
,
resampled_data
;
std
::
ostringstream
sout
;
std
::
ostringstream
sout
;
...
...
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