antemons / smart-manuscript

This software recognizes (digitizes) handwritten manuscripts and digitizer-pen input.
GNU General Public License v3.0
24 stars 5 forks source link

Read pressure (aka force) and timestamp from the data #3

Closed PaulLerner closed 5 years ago

PaulLerner commented 5 years ago

Hi, It's quite unclear what you do with the pressure and timestamp features (see Indermühle et al.). In writing.py it seems that you extract features like pressure from the data but when using the Corpus or Inkml class I'm only able to get a list of strokes, strokes being a 2-d array of spatial coordinates. Can you please add some documentation ?

Best regards,

References: Indermühle, E., Frinken, V., & Bunke, H. (2012, September). Mode detection in online handwritten documents using BLSTM neural networks. In 2012 International Conference on Frontiers in Handwriting Recognition (pp. 302-307). IEEE.

PaulLerner commented 5 years ago

I managed to do it myself, see my fork : https://github.com/PaulLerner/smart-manuscript/commit/5d85049c2794ffab99561ec87f68754b87602248