RomanBase / hand_signature

A Flutter plugin providing signature pad for drawing smooth signatures.
https://pub.dev/packages/hand_signature
MIT License
108 stars 25 forks source link

Extend raw data that can be used later to restore state with pressure details #40

Open FreddyKaiser opened 1 year ago

FreddyKaiser commented 1 year ago

In the context of Biometric Signature ".... Dynamic signature verification technology uses the behavioral biometrics of a hand written signature to confirm the identity of a computer user. This is done by analyzing the shape, speed, stroke, pen pressure and timing information during the act of signing."

In the control.toMap() I see paths with x, y and t. Possible to extend it with pressure information out of https://api.flutter.dev/flutter/gestures/ForcePressGestureRecognizer-class.html ?

RomanBase commented 11 months ago

Hey, sorry for late answer. Currently there is no plan to support pressure. Line width is now determined only by speed. By adding pressure information we need to change drawing model (and result will be maybe little more realistic?) what will be a lot of work.

Just for analytical purpose we can add pressure information relatively quickly.