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
46eb8d1c
"examples/community/test_tensorrt_controlnet.py" did not exist on "7ce3fa010a5019ed35d5a89572d3f68646b2a8d9"
Commit
46eb8d1c
authored
Aug 09, 2011
by
Davis King
Browse files
added more unit tests for hog coordinate transforms
parent
6acf4eac
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
dlib/test/hog_image.cpp
dlib/test/hog_image.cpp
+7
-0
No files found.
dlib/test/hog_image.cpp
View file @
46eb8d1c
...
...
@@ -78,8 +78,15 @@ namespace
DLIB_TEST
(
hog1
.
feat_to_image_space
(
point
(
0
,
0
))
==
point
(
5
,
5
));
DLIB_TEST
(
hog2
.
feat_to_image_space
(
point
(
0
,
0
))
==
point
(
9
,
9
));
DLIB_TEST
(
hog1
.
feat_to_image_space
(
point
(
1
,
1
))
==
point
(
8
,
8
));
DLIB_TEST
(
hog2
.
feat_to_image_space
(
point
(
1
,
1
))
==
point
(
17
,
17
));
DLIB_TEST
(
hog1
.
image_to_feat_space
(
hog1
.
feat_to_image_space
(
point
(
0
,
0
)))
==
point
(
0
,
0
));
DLIB_TEST
(
hog2
.
image_to_feat_space
(
hog2
.
feat_to_image_space
(
point
(
0
,
0
)))
==
point
(
0
,
0
));
DLIB_TEST
(
hog1
.
image_to_feat_space
(
hog1
.
feat_to_image_space
(
point
(
1
,
1
)))
==
point
(
1
,
1
));
DLIB_TEST
(
hog2
.
image_to_feat_space
(
hog2
.
feat_to_image_space
(
point
(
1
,
1
)))
==
point
(
1
,
1
));
DLIB_TEST
(
hog1
.
image_to_feat_space
(
hog1
.
feat_to_image_space
(
point
(
1
,
2
)))
==
point
(
1
,
2
));
DLIB_TEST
(
hog2
.
image_to_feat_space
(
hog2
.
feat_to_image_space
(
point
(
1
,
2
)))
==
point
(
1
,
2
));
}
}
a
;
...
...
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