halim hamadi
halim hamadi

Reputation: 109

detecting and removing watermark using python

I have question about python image processing, Are there any method to detecting watermark and also deleting or removing the watermark?

for ex. like this image

http://blackstead.com/wp-content/uploads/2013/06/SWG-33-1-Hawthorn-Watermark-1024-14.jpg

Thank you,

Upvotes: 1

Views: 8853

Answers (1)

v.coder
v.coder

Reputation: 1932

Since the watermark is almost transperant, you can try inpainting technique to remove the watermark. Inpainting technique reconstructs the image by filling any gaps in the image.

Please try the inpainting method in opencv:

cv2.inpaint()

http://docs.opencv.org/3.0-beta/modules/photo/doc/inpainting.html

Upvotes: 4

Related Questions