We have now learned enough image enhancement techniques to take up a simple project applying these techniques. Let's create a simple command line utility, a "Watermark Maker Tool". Although we call it a "Watermark Maker ", it actually provides some more useful features. Using this utility, you can add the date stamp to the image (the date on which the image was enhanced using this tool). It also enables embedding custom text within an image. The tool can be run on the command line using the following syntax:
python WaterMarkMaker.py [options]
Where, the [options]
are as follows:
--image1
: The file path of the main image that provides canvas.--waterMark
: The file path of the watermark image (if any).--mark_pos
: The coordinates of top-left corner of the watermark image to be embedded. The values should be specified in double quotes, like 100, 50.--text
: The text that should appear in the output image.--text_pos
: The coordinates of top-left corner of the TEXT to...