Make highgui.hpp independent from C API
This commit is contained in:
@@ -84,7 +84,7 @@ public:
|
||||
}
|
||||
TEST(Haar)
|
||||
{
|
||||
Mat img = imread(abspath("basketball1.png"), CV_LOAD_IMAGE_GRAYSCALE);
|
||||
Mat img = imread(abspath("basketball1.png"), IMREAD_GRAYSCALE);
|
||||
|
||||
if (img.empty())
|
||||
{
|
||||
|
Reference in New Issue
Block a user