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 install from svn repository, you can see the exact revision version like that:
# in the opencv.svn directory svn info
If you also want to get build information, you can use this code:
printf("OpenCV: %s", cv::getBuildInformation().c_str());