0

I have a logo and images which include that logo in corners like top-left, bottom-left, top-right, bottom-right.

Using imagemagick, how can I

(a) remove that logo OR

(b) if not possible, to find the logo it it's x/y coords and crop that image and cut the logo out?

Thanks for any help!

1 Answers1

1

It is unclear from your question whether the logo appears always at the same size in your "watermarked" images.

If the size of the logo is known, you can do a sub-image search and fill or blur over or crop the logo.

If the size of the logo is variable, or unknown, you would need to look for a package (maybe OpenCV) which has Scale Invariant (SIFT) functionality which is not present AFAIK in ImageMagick.

Mark Setchell
  • 191,897
  • 31
  • 273
  • 432