简体   繁体   中英

Is there any code or algorithm for signature recognition?

My users draw their signature in my application using touch events and I convert it to a bitmap. I want to extract unique specifications of each signature and compare it by its specifications stored in main server.

How can I do that?

What is the main and enterprise algorithm for extracting unique features of a signature?

Thanks in advance,

I'm not a computer vision expert, but as a grad student that's dabbled, it sounds like feature exaction is what you're looking for. The first thing that comes to mind is SIFT (Scale-Invariant Feature Transform). This algorithm would allow you to compare stored features of an original signature to copies and identify a match with a high level of accuracy, even in the cases that the sample is scaled or rotated.

With a simple Google search you can find a number of scholarly papers, for example this one or this one that are specifically related to using the algorithm for signatures/biometrics.

There is a discussion of using OpenCV with SIFT in this Stack Overflow Article .

If there are better vision algorithms that I'm unaware of that are particularly well suited to this problem I encourage the community to chime in.

Try looking at this resource which uses a neural network to do handwriting recognition. Try looking at this resource too which shows you how to recognize hand written digits. Both projects have full source code.

There is a similar question asked: Bitmap (of a signature) comparison in c#

I have also found one article in channel9 http://channel9.msdn.com/coding4fun/blog/Contour-Analysis-for-Image-Recognition-in-C

It requires a complex logic to be created, there are various products available for signature verification and recognition, I have found following code written in vb 6.0 which might be of some help: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=38215&lngWId=1

In nutshell it requires lots of efforts, so you can ask client if by specifying some unique code or question the requirement "matching of signature" can be fulfilled.

In UNI couple years back I did handwriting recognition system. From experience which i gained during working on that project i will tel you, do not convert signature to image, but collect set of points where pen was touching screen and order them by timestamp. Dealing with that will be much easier than dealing with signature as image.

If anyone will follow your footsteps, I recommend read something about Online/Offline handwriting recognition

Well you can transform the image in a bytes array, send that to your server and do whatever you want.

Next I will place some tips and tricks with decode and encode methods you can use

There is a question here Decode byte array to bitmap that has been compressed in Java about how to decode bytes array

And to create the bytes array from your bitmap using this tips: http://www.anddev.org/advanced-tutorials-f21/how-to-convert-bitmap-to-byte-array-in-android-t12985.html

Hope this helps, Arkde

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM