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
6010de9b
"docs/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "39a3c77e0d4a22de189b02398cf2d003d299b4ae"
Commit
6010de9b
authored
Dec 29, 2011
by
Davis King
Browse files
Removed unnecessary load() calls now that they aren't required.
parent
3f203cbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
dlib/svm/structural_object_detection_trainer.h
dlib/svm/structural_object_detection_trainer.h
+1
-4
No files found.
dlib/svm/structural_object_detection_trainer.h
View file @
6010de9b
...
...
@@ -255,16 +255,13 @@ namespace dlib
if
(
auto_overlap_tester
)
{
image_scanner_type
local_scanner
;
local_scanner
.
copy_configuration
(
scanner
);
std
::
vector
<
std
::
vector
<
rectangle
>
>
mapped_rects
(
truth_rects
.
size
());
for
(
unsigned
long
i
=
0
;
i
<
truth_rects
.
size
();
++
i
)
{
local_scanner
.
load
(
images
[
i
]);
mapped_rects
[
i
].
resize
(
truth_rects
[
i
].
size
());
for
(
unsigned
long
j
=
0
;
j
<
truth_rects
[
i
].
size
();
++
j
)
{
mapped_rects
[
i
][
j
]
=
local_
scanner
.
get_best_matching_rect
(
truth_rects
[
i
][
j
]);
mapped_rects
[
i
][
j
]
=
scanner
.
get_best_matching_rect
(
truth_rects
[
i
][
j
]);
}
}
...
...
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