touch configurations to pdf process

2 views
Skip to first unread message

Sai Hei Yeung

unread,
Jul 14, 2013, 1:41:57 PM7/14/13
to touchbase-t...@googlegroups.com

The script to convert stanford form touch-coordinates to business cards on pdf is complete.  

Summary of steps:
1.  convert touch-pixels to postscript pixels (multipling each coordinate by (96/163)) and then rounding it to nearest integer
2.  translate each (x,y) to (x - minx + dot_radius + edge_padding, y - miny + dot_radius + edge_padding) where edge_padding is set to .25*dot_radius.  
3.  drawing the points and lines using Tkinter

All looks good in appearance on pdf (sample attached).  On monday we should test hand-drawn cards of a couple of these using conductive pen and then testing it out on the reader to see if it returns a close enough set of lengths.  


test3.pdf
Reply all
Reply to author
Forward
0 new messages