include opencv2 in dataset.cc

This commit is contained in:
KalmanSLightech 2018-07-25 17:04:39 +08:00
parent 900c44179d
commit f1003b63b3

View File

@ -12,13 +12,8 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
#include "dataset/dataset.h" #include "dataset/dataset.h"
#ifdef USE_OPENCV2
#include <opencv2/highgui/highgui.hpp> #include <opencv2/highgui/highgui.hpp>
#else #include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/imgcodecs/imgcodecs.hpp>
#endif
#include <glog/logging.h> #include <glog/logging.h>
#include <iomanip> #include <iomanip>