How to determine OpenCV version

前端 未结 8 978
南笙
南笙 2020-12-29 03:48

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

相关标签:
8条回答
  • 2020-12-29 04:43

    If you install from svn repository, you can see the exact revision version like that:

    # in the opencv.svn directory
    svn info
    
    0 讨论(0)
  • 2020-12-29 04:44

    If you also want to get build information, you can use this code:

        printf("OpenCV: %s", cv::getBuildInformation().c_str());
    
    0 讨论(0)
提交回复
热议问题