Release Build Status | Release Test Status | Debug Build Status | Debug Test Status |
---|---|---|---|
This repository includes the implementation of the Blur Detection for Digital Images Using Wavelet Transform paper using C++20.
After cloning this repository to your local machine follow the steps below.
- [Optional] Do this if you do not have conan installed. Create a python environment and install the requirements.
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements
- Install the required packages to compile this software. You can set the build type as Debug or as Release, remember to then change the output file name from conan/debug to conan/release for more redability.
$ conan install . -sbuild_type=Release -of=conan/release --build=missing
Ps. if does not work you might need to detect your conan profile, you can do this simply running the following command:
$ conan profile detect
This basically go through your computer settings (architecture, build type, OS, the compiler etc.) and creates a conan profile. This way conan can obtain the correct packages installed according to your system.
- Run the following line to set up the compilation configuration. Please adapt the following command depending on you want to compile in debug or in release mode.
$ cmake -DCMAKE_TOOLCHAIN_FILE=conan/release/build/Debug/generators/conan_toolchain.cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -B build/debug -S .
- Run the following command for compilation:
$ cmake --build build/debug -j4