How to determine which version of OpenCV I have installed?
I am most interested in knowing a way of doing it programatically (and cross-platform), but I can
You can check the following macro variables:
CV_MAJOR_VERSION CV_MINOR_VERSION