OpenCV is a popular open-source library for Computer Vision and Image processing Applications.
Install the libraries for C++ and Python
$ sudo apt update $ sudo apt install libopencv-dev python3-opencv
Clone the examples sravansenthiln1/opencv-demos
$ git clone https://github.com/sravansenthiln1/opencv-demos $ cd opencv-demos
The example demos consist of C++ and Python examples to try.
$ cd C++/image-manipulation
$ make
$ cp ../../samples/flower.png sample.png
$ ./main
$ cd Python/image-manipulation
$ cp ../../samples/flower.png sample.png
$ python3 main.py