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
If you also want to get build information, you can use this code:
printf("OpenCV: %s", cv::getBuildInformation().c_str());