]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/commit
Make OpenCV version checks to work correctly for both 2.x.x and 3.x.x
authorMichal Sojka <michal.sojka@cvut.cz>
Thu, 27 Sep 2018 14:26:02 +0000 (16:26 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Thu, 27 Sep 2018 15:21:54 +0000 (17:21 +0200)
commit84511ca3d8db7cfcea17cca9785a571e4a3e6717
tree71d00784c1f999305e81e34712447c912eb53b4a
parent465c773c0eccfbb5011e211b27bb941581cede76
Make OpenCV version checks to work correctly for both 2.x.x and 3.x.x

CV_VERSION_EPOCH seems to be defined only in 2.x.x.

Also fix the condition for operatoer<<(MatSize). We don't need it for
OpenCV 2.
src/debug.h
src/kcf.cpp