在 Windows 系统下,我们可以利用 Qt 来配置 OpenCV 和 MySql,以实现强大的图像处理和数据管理功能。以下将详细说明配置方法:
配置 OpenCV
方法一:使用预编译的 OpenCV 库
-
下载 OpenCV :根据所使用的编译器下载对应的 OpenCV 版本。若使用 MSVC 编译器,可到 OpenCV 官网下载 msvc 编译的版本,下载地址为https://opencv.org/releases/。若使用 MinGW 编译器,可在GitHub - huihut/OpenCV-MinGW-Build: 👀 MinGW 32bit and 64bit version of OpenCV compiled on Windows. Including OpenCV 3.3.1, 3.4.1, 3.4.1-x64, 3.4.5, 3.4.6, 3.4.7, 3.4.8-x64, 3.4.9, 4.0.0-alpha-x64, 4.0.0-rc-x64, 4.0.1-x64, 4.1.0, 4.1.0-x64, 4.1.1-x64, 4.5.0-with-contrib,