https://github.com/snandasena/opencv-cpp-examples
OpenCV configurations with cmake
https://github.com/snandasena/opencv-cpp-examples
cmake cmake-toolchain computer-vision cplusplus image-processing machine-learning opencv
Last synced: about 1 month ago
JSON representation
OpenCV configurations with cmake
- Host: GitHub
- URL: https://github.com/snandasena/opencv-cpp-examples
- Owner: snandasena
- License: mit
- Created: 2020-04-04T03:35:36.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-22T14:32:58.000Z (over 5 years ago)
- Last Synced: 2025-02-01T03:27:52.446Z (over 1 year ago)
- Topics: cmake, cmake-toolchain, computer-vision, cplusplus, image-processing, machine-learning, opencv
- Language: C++
- Homepage:
- Size: 1.52 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### How to run this program
#### Step 01: Clone this repo to your location
```
git clone git@github.com:snandasena/opencv-cpp-examples.git
```
#### Step 02: Create a build directory
```
cd opencv-cmake-config
mkdir build
```
#### Step 03(First time only): Change directoy and build the project
```
cd build
cmake ../src/
```
#### Step 04: Build the executable
```
cd ../
cmake --build build --target opencvdemo -- -j4
```
#### Step 05: Run the executable
```
./build/opencvdemo
```
#### Notice:
**There are multiple c++ files in src folder and if you want to try those, please un comment required file from CMakeLists.txt and run it.**
#### Acknowledgement
Please visit [OpenCV](https://docs.opencv.org/4.3.0/d9/df8/tutorial_root.html)