Write on the image with automatic text color. Color is selected based on the input image.
$ git clone https://github.com/ashokpant/text-on-image.git
$ cd text-on-image
$ mkdir build
$ cd build
$ cmake ..
$ make
$ cd text-on-image/build
$ ./text-on-image ../flower.jpg "Love from Nepal"
Note: [Uses: ./text-on-image <image_path> [<text>]]
Left mouse button click for specific location
CTRL + Mouse Move for free text move