This project is a simple tool for converting color images to grayscale using OpenCV.
- OpenCV (version 4.x)
- Clone the repository to your local machine.
- Create a new directory called
build
in the project root directory. - Navigate to the
build
directory in your terminal. - Run
cmake ..
to configure the project. - Run
make
to build the executable.
The executable takes two command line arguments: the input image file path and the output image file path.
./GrayScaleConverter <in-path> <out-path>
./GrayScaleConverter input.jpg output_gray.jpg
MIT