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
5a385a3c
Commit
5a385a3c
authored
Feb 09, 2014
by
Davis King
Browse files
A minor change to ensure the load() function can load objects
like the cv_image.
parent
944748b3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
dlib/image_processing/scan_fhog_pyramid.h
dlib/image_processing/scan_fhog_pyramid.h
+4
-1
No files found.
dlib/image_processing/scan_fhog_pyramid.h
View file @
5a385a3c
...
...
@@ -510,11 +510,14 @@ namespace dlib
unsigned
long
width
,
height
;
compute_fhog_window_size
(
width
,
height
);
typedef
typename
image_type
::
type
pixel_type
;
typedef
typename
image_type
::
mem_manager_type
mem_manager_type
;
// build our feature pyramid
extract_fhog_features
(
img
,
feats
[
0
],
cell_size
,
height
,
width
);
if
(
feats
.
size
()
>
1
)
{
im
age_type
temp1
,
temp2
;
array2d
<
pixel_type
,
mem_man
age
r
_type
>
temp1
,
temp2
;
pyr
(
img
,
temp1
);
extract_fhog_features
(
temp1
,
feats
[
1
],
cell_size
,
height
,
width
);
swap
(
temp1
,
temp2
);
...
...
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