Update opencv macros

This commit is contained in:
John Zhao
2018-11-05 11:27:28 +08:00
parent d6cb89bc04
commit 66ce5c8ad0
7 changed files with 38 additions and 16 deletions

View File

@@ -13,7 +13,7 @@
// limitations under the License.
#include "dataset/dataset.h"
#ifdef USE_OPENCV2
#ifdef WITH_OPENCV2
#include <opencv2/highgui/highgui.hpp>
#else
#include <opencv2/imgcodecs/imgcodecs.hpp>