Blog - Signature verification — telling genuine from forgery
Offline vs online signature verification: temporal features, DTW, embeddings, and decision thresholds.
- Author
- 2code
- Published
- Tags
- biometrics
- signature
- CV
Signature verification is a behavioral biometric. The practical split is offline (scanned image) vs online (tablet trajectory: , pressure).
Offline: signature as an image
From a bitmap we extract skeleton, contour, Hu moments, stroke-orientation histograms. It works, but static shape is easier to forge than dynamics.
Similarity of feature vectors is often cosine:
Online: time and pressure
The signal is a sequence . Compare sequences with DTW or a Siamese/LSTM embedding.
DTW recurrence between sequences :
Smaller normalized means closer signatures.
Decision pipeline
…
What exposes a forger?
- Timing — unnaturally uniform speed.
- Pressure — missing natural drops on pen-ups.
- Stroke order — different motion topology with similar appearance.
That is why online verification usually beats offline FAR at the same UX budget.
Takeaway
Effective signature verification leans on dynamics, not shape alone. If you can capture online signals — do; the image is plan B.