Check if image has fiscal stamp

Hello everyone,

Can anyone has an idea how to check if an image has fiscal stamp?
Below I have 2 invoices: one with customer stamp, one without it.
I was thinking maybe some node to count the pixels from an image and what is higher than average it means it has the stamp.

Notice, the stamp can be anywhere in the image.

Thank you,
Alex

InvoicewithStamp

Hi @Enache01,

This is an interesting problem, I like your initial approach, however you could try improving it by turning the image into binary using Global Thresholder, then experiment with the nodes: Fill Holes, Morphological Image Operations.
Take a look at the prototype workflow I build:


best,
Gabriel

4 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.