Thread: Request Handwrite Recognition
View Single Post
Old 07-07-2010, 03:51 PM   #22
kenjennings
Edge User
 
Quote:
Originally Posted by fgruber View Post
I suppose each pair of those numbers between the stroke tag are like X and Y position on the screen
It appears so.

Here are all the red strokes:

Code:
<stroke tool="pen" color="red" width="1.41">
77.28 252.96 76.80 251.52 76.32 252.96 75.84 254.40 75.84 256.80 75.84 259.68 75.36 261.60 75.36 264.96 75.36 267.84 74.88 269.28 74.88 271.20 74.40 272.64
</stroke>
<stroke tool="pen" color="red" width="1.41">
75.36 255.84 73.92 254.88 73.92 253.44 75.36 252.00 76.80 251.04 78.24 249.60 80.16 248.16 81.60 247.20 83.04 247.20 84.00 248.64 84.48 250.56 84.00 252.00 83.04 253.92 82.08 255.84 80.64 257.76 78.72 259.20 77.28 260.16 75.36 260.64 73.92 260.64 75.36 261.60 76.80 263.04 78.24 264.48 79.20 265.92 80.64 267.36 81.60 268.80 82.56 270.24 84.00 269.76
</stroke>
<stroke tool="pen" color="red" width="1.41">
89.76 267.84 91.20 267.36 92.64 266.40 94.08 264.96 94.08 263.52 92.64 262.08 91.20 262.08 89.76 262.56 88.32 263.52 87.84 264.96 87.84 266.40 88.80 267.84 90.72 269.28 92.64 269.28 94.56 269.28 96.48 268.80 98.40 267.84 100.32 267.36
</stroke>
<stroke tool="pen" color="red" width="1.41">
109.92 263.52 108.48 262.56 107.04 262.08 105.60 262.08 104.16 262.56 102.72 264.48 101.76 265.92 102.24 267.36 103.68 268.80 105.60 268.32 107.52 266.88 109.44 264.48 110.40 262.56 111.36 260.64 112.80 257.28 113.28 255.36 113.28 252.48 113.28 251.04 112.80 249.60 111.84 248.16 110.40 248.16 109.44 249.60 108.96 251.04 108.48 252.48 108.00 255.84 108.00 258.24 108.00 260.16 108.48 262.08 109.44 264.96 110.88 266.88 112.32 267.84
</stroke>
That's four separate strokes to write the word "Red". One vertical line for the capital "R" and another stroke for the right side of the "R". One continuous stroke for "e". And one continuous stroke for the "d". (that means the the vertical line in the "d" is drawn [wastefully] twice once going up and again going down in one motion. So, I'm a lazy bum.)

Assuming these are X/Y coordinates, it looks like the non-smooth line drawing mode (continuously?) grabs coordinates from the pen. It's a rather dense data set.

Last edited by kenjennings; 07-07-2010 at 04:14 PM.