this and the next line should be removed from the file. #define should be moved to .cpp file.

#include "opencv2/core.hpp" should be added