Closed jveitchmichaelis closed 4 years ago
On versions of OpenCV >= 3, enums don't have CV_ prepended. This PR adds a compile time check and uses the correct format as appropriate. Checked with OpenCV 4.
CV_
e.g. https://docs.opencv.org/3.0.0/d4/da8/group__imgcodecs.html
It looks like the change got merged togheter with #103 thanks.
On versions of OpenCV >= 3, enums don't have
CV_
prepended. This PR adds a compile time check and uses the correct format as appropriate. Checked with OpenCV 4.e.g. https://docs.opencv.org/3.0.0/d4/da8/group__imgcodecs.html