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
212c19c0
"tools/vscode:/vscode.git/clone" did not exist on "cafd6a0ad561f4656ed021c580ed1e32f4e1cdb0"
Commit
212c19c0
authored
May 31, 2018
by
Davis King
Browse files
cleanup
parent
18d43858
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
tools/python/src/image2.cpp
tools/python/src/image2.cpp
+3
-5
No files found.
tools/python/src/image2.cpp
View file @
212c19c0
...
...
@@ -518,13 +518,11 @@ numpy_image<T> py_transform_image (
)
{
DLIB_CASSERT
(
rows
>
0
&&
columns
>
0
,
"The requested output image dimensions are invalid."
);
numpy_image
<
T
>
out_
;
image_view
<
numpy_image
<
T
>>
out
(
out_
);
out
.
set_size
(
rows
,
columns
);
numpy_image
<
T
>
out
(
rows
,
columns
);
transform_image
(
img
,
out
_
,
interpolate_bilinear
(),
map_point
);
transform_image
(
img
,
out
,
interpolate_bilinear
(),
map_point
);
return
out
_
;
return
out
;
}
// ----------------------------------------------------------------------------------------
...
...
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