https://www.learnopencv.com/get-opencv-build-information-getbuildinformation/
How to find OpenCV build information using C++ ?
The code for obtaining build information is shared below.
#include <opencv2/opencv.hpp>
int main(void)
{
std::cout << cv::getBuildInformation() << std::endl;
}
How to find OpenCV build information using Python?
The code for obtaining build information using python is shared below.
import cv2
print cv2.getBuildInformation()