Ask Your Question
1

Detect stamps (seals) on image

asked 2016-09-17 16:34:49 -0600

ethaniel gravatar image

updated 2020-10-04 05:25:44 -0600

Dear forum,

I have a lot of images of documents, where I need to detect stamps. I couldn't make a solution that would automatically adjust to different kinds of images.

So here is my offer. I am offering $100 to anyone who can write a piece of python code (and share it with everyone here), that would scan the following images for stamps and return only the cropped part of the image with the stamp itself. The stamp must be visible fully.

http://data26.i.gallery.ru/albums/sms... (soft) http://data27.i.gallery.ru/albums/sms... (photo) http://data26.i.gallery.ru/albums/sms... (photo) http://data27.i.gallery.ru/albums/sms... (positioned incorrectly) http://data27.i.gallery.ru/albums/sms... (flares) http://data27.i.gallery.ru/albums/sms... (scan marks)

edit retag flag offensive close merge delete

Comments

Seriously? Did you even try? Here's a hint. Those seals are blue. That should get you 90% of the way there, looking for circles should do the rest.

Tetragramm gravatar imageTetragramm ( 2016-09-17 18:46:23 -0600 )edit

I have already tried that approach, but due to the nature of documents (some of them are photos), I get either too much blue, or too much text noise. I either can't retrieve a single circle, or I get many false positive circles. There is no "one-fits-all" solution that would cover all my images.

Offer still up.

ethaniel gravatar imageethaniel ( 2016-09-19 04:43:27 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2020-10-22 23:45:21 -0600

mr_easy gravatar image

What you can try is first find a region where the stamp possibly might be. Then in that roi, try doing adaptive thresholding for the blue color.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-09-17 16:34:49 -0600

Seen: 2,251 times

Last updated: Sep 17 '16