Include necessary opencv2 header on OSX.

opencv2 is deprecated and homebrew ships with opencv3 now.
This commit is contained in:
iphydf 2018-08-28 02:50:23 +01:00
parent 18117581bd
commit 515196dfa2
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -63,6 +63,9 @@ extern "C" {
#include <opencv/cv.h>
#include <opencv/cvwimage.h>
#include <opencv/highgui.h>
#ifdef __APPLE__
#include <opencv2/videoio/videoio_c.h>
#endif
#include <assert.h>
#include <sched.h>