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
84b912dd
"examples/python-chat-app/README.md" did not exist on "be9980ef1321d8ec223504f6ebd655afc17f2e3e"
Commit
84b912dd
authored
Apr 21, 2013
by
Davis King
Browse files
Removed cruft
parent
8b1ec0ac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
dlib/image_processing/scan_image_boxes.h
dlib/image_processing/scan_image_boxes.h
+0
-4
No files found.
dlib/image_processing/scan_image_boxes.h
View file @
84b912dd
...
...
@@ -490,12 +490,9 @@ namespace dlib
if
(
rect
.
is_empty
())
continue
;
get_feature_extraction_regions
(
rect
,
regions
);
DLIB_CASSERT
(
saliency_images
.
size
()
==
regions
.
size
(),
""
);
double
score
=
0
;
for
(
unsigned
long
k
=
0
;
k
<
regions
.
size
();
++
k
)
{
DLIB_CASSERT
(
get_rect
(
saliency_images
[
k
]).
contains
(
regions
[
k
]),
search_rects
[
i
]
<<
" getrect:"
<<
get_rect
(
saliency_images
[
k
])
<<
" region:"
<<
regions
[
k
]
<<
" rect: "
<<
rect
);
score
+=
saliency_images
[
k
].
get_sum_of_area
(
regions
[
k
]);
}
const
double
width
=
search_rects
[
i
].
width
();
...
...
@@ -601,7 +598,6 @@ namespace dlib
for
(
unsigned
long
j
=
0
;
j
<
regions
.
size
();
++
j
)
{
const
rectangle
rect
=
regions
[
j
];
DLIB_CASSERT
(
get_rect
(
feats
).
contains
(
regions
[
j
]),
regions
[
j
]
<<
" "
<<
mapped_rect
);
const
unsigned
long
template_region_id
=
j
;
const
unsigned
long
offset
=
box_sizedims
*
2
+
feats
.
get_num_dimensions
()
*
template_region_id
;
...
...
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