edu.stanford.hci.r3.pattern.calibrate
Class CalibrationCaptureApp

java.lang.Object
  extended by edu.stanford.hci.r3.pattern.calibrate.CalibrationCaptureApp

public class CalibrationCaptureApp
extends java.lang.Object

This class helps us create a mapping between the streamed (physical) coordinates and the batched (logical) coordinates for Anoto digital pens. This is important to allow us to mix streaming with batched event handling.

Calibrate the Clock First, then Calibrate the X & Y... This is an an app that takes two strokes and records them. Then, it finds the orientation of the two strokes and calculates the crossing point of the two strokes, recording this as a set of streamed coordinate. It then does the same thing with the batched ink... And calibrates the coordinates.

For time-sensitive applications, this also allows us to calibrate the clock of the pen to the system's clock.

Usage: Make sure the pen is either empty, or you have download all the data off of your pen. You want to make sure that when you synchronize your pen, it will give the same number of strokes that were detected during streaming. Draw a few strokes on your page. Then turn off streaming. Upload your pen data. The two ink objects are synchronized automatically.

This software is distributed under the BSD License.


Constructor Summary
CalibrationCaptureApp()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalibrationCaptureApp

public CalibrationCaptureApp()
Method Detail

main

public static void main(java.lang.String[] args)
Parameters:
args -

Copyright 2006 Stanford University