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
131e4598
"tests/vscode:/vscode.git/clone" did not exist on "473bf15f8c47bba0d29aae556294d50da5efb560"
Commit
131e4598
authored
Dec 21, 2019
by
Davis King
Browse files
Update to work with latest version of OpenCV
parent
2c7e625a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
dlib/opencv/cv_image.h
dlib/opencv/cv_image.h
+4
-0
No files found.
dlib/opencv/cv_image.h
View file @
131e4598
...
...
@@ -34,7 +34,11 @@ namespace dlib
<<
"
\n\t
img.channels(): "
<<
img
.
channels
()
<<
"
\n\t
img.pixel_traits<pixel_type>::num: "
<<
pixel_traits
<
pixel_type
>::
num
);
#if CV_VERSION_MAJOR > 3
IplImage
temp
=
cvIplImage
(
img
);
#else
IplImage
temp
=
img
;
#endif
init
(
&
temp
);
}
...
...
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