Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
eric612 committed Aug 21, 2019
2 parents de10a33 + 53e1588 commit 96bb265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/caffe/util/im_transforms.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifdef USE_OPENCV
#include <opencv2/highgui/highgui.hpp>

#if CV_VERSION_MAJOR == 3
#if CV_VERSION_MAJOR >= 3
#include <opencv2/imgcodecs/imgcodecs.hpp>
#define CV_GRAY2BGR cv::COLOR_GRAY2BGR
#define CV_BGR2GRAY cv::COLOR_BGR2GRAY
Expand Down

0 comments on commit 96bb265

Please sign in to comment.