how to match two image signatures
how to compare two image signatures in asp.net or java both are use please tell me if any project share me .
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Maen BadwanPosted Jan 25, 2018, 12:31 PM
For example, if you are dealing with structured documents that has a specific location for signatures, the background color of the signature is known, the width and height of the image is fixed, you can do this as follows:
- Auto crop each image to remove any extra space around the signature.
- Deskew each image to straighten the contents of the image.
- Combine the two images with XOR factor. The XOR factor means the different pixels gives white color.
- Count the white pixels in the original and the result (combined image).
- If the difference (in the number of white pixels) between the original and the combined image is small, you can consider the two images are similar. Otherwise. If the difference is large, this means the two images are different.
LEADTOOLS Programming toolkit supports almost all the above mentioned image processing features. You can find more details with sample codes here:
https://www.leadtools.com/help/leadtools/v19/dh/po/autocropcommand.html
https://www.leadtools.com/help/leadtools/v19/dh/po/deskewcommand.html
https://www.leadtools.com/help/leadtools/v19/dh/pe/combinecommand.html
https://www.leadtools.com/help/leadtools/v19/dh/pc/colorcountcommand.html
Nilesh PatilPosted Nov 1, 2017, 6:20 AM