Watermark Images with OpenCV, Python & C++

Kedia Rahul
2 min readJun 7, 2021

Have you ever wondered why there is a name or a logo on images over the internet? These are generally not easily visible and are present usually at a corner or all over the image. These are known as Watermarks. These denotes usually the name of the individual/firm that owns the image thus helps to preserve the copyright over the image. In this blog, we’ll get to know how we can add our own watermark to our images.

Image watermarking is a simple task that is done by blending images together. The first image is the image that is to be watermarked and the second image can be your name or your company’s name/logo under which you wish to claim the image. Here I have added a watermark on the bottom right corner of the image although you can understand and modify the code to add this watermark in any fashion you desire.

Some output images are shown below where the watermark is added at the bottom right corner of the image.

The full source code for the project can be found here:

Detailed explanation for code and logic can be found here:

OR

--

--