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
a60be341
Commit
a60be341
authored
Jun 28, 2018
by
Davis King
Browse files
Fixed busted assert.
parent
8fdb3af9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tools/python/src/image2.cpp
tools/python/src/image2.cpp
+4
-4
No files found.
tools/python/src/image2.cpp
View file @
a60be341
...
@@ -80,13 +80,13 @@ point ht_get_best_hough_point (
...
@@ -80,13 +80,13 @@ point ht_get_best_hough_point (
const
numpy_image
<
float
>&
himg
const
numpy_image
<
float
>&
himg
)
)
{
{
DLIB_ASSERT
(
himg
.
nr
(
)
==
size
()
&&
himg
.
nc
(
)
==
ht
.
size
()
&&
DLIB_
C
ASSERT
(
num_rows
(
himg
)
==
ht
.
size
()
&&
num_columns
(
himg
)
==
ht
.
size
()
&&
get_rect
(
ht
).
contains
(
p
)
==
true
,
get_rect
(
ht
).
contains
(
p
)
==
true
,
"
\t
point hough_transform::get_best_hough_point()"
"
\t
point hough_transform::get_best_hough_point()"
<<
"
\n\t
Invalid arguments given to this function."
<<
"
\n\t
Invalid arguments given to this function."
<<
"
\n\t
himg.nr(): "
<<
himg
.
nr
(
)
<<
"
\n\t
num_rows(himg): "
<<
num_rows
(
himg
)
<<
"
\n\t
himg.nc(): "
<<
himg
.
nc
(
)
<<
"
\n\t
num_columns(himg): "
<<
num_columns
(
himg
)
<<
"
\n\t
size(): "
<<
size
()
<<
"
\n\t
size(): "
<<
ht
.
size
()
<<
"
\n\t
p: "
<<
p
<<
"
\n\t
p: "
<<
p
);
);
return
ht
.
get_best_hough_point
(
p
,
himg
);
return
ht
.
get_best_hough_point
(
p
,
himg
);
...
...
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