1. Configure the OPenCV development environment in QT under the linux system

1. Description:

To configure the OpenCV development environment under the Linux system, you need to download the source code from the official website and use the CMake tool to compile the source code. Compared with the configuration in the Windows system, it is much more complicated. The linux system in this article is linux minit, and opencv is the latest version 4.7. 0, but the version requirements for linux and opencv are not high.
Show results:
insert image description here

2. Configuration steps:

2.1 Step 1: Download the OPenCV source code

Open the OPenCV download address of opencv's official website , and you can download the latest source code in its page, as shown in the figure below:
insert image description here
After the download is complete, create a folder named opencv in the linux system, and put the downloaded compressed package in In this folder, decompress at the same time, and then create a new folder in the opencv folder, named build, this build folder is an auxiliary folder when using cmake to compile, as shown in the following figure:
insert image description here

Guess you like

Origin blog.csdn.net/FY_13781298928/article/details/131229769