next up previous contents
Next: 4.3 Selection of classes Up: 4.2 The Glove software Previous: 4.2.3 gloverecord

4.2.4 gloveplay

Gloveplay expects a stream of lines readable using readglove. It then takes this information and creates a very simple 3D model of a hand, and models the movement of the fingers, using the SGI GL system.

Typical usage might be something like:

( stty raw -parity -echo ; gloveread ) < /dev/ttyd2 | gloveplay

which would produce a real-time moving hand or

cat yes3.sign 5 | gloveplay

which would ``play back'' an already existing sign, stored in the files yes3.sign. The ``5'' indicates a pause between consecutive frames in units of fiftieths of a second. This can be used for providing a ``slow-motion replay'' of a sign. In this case, playback occurs at 10 frames per second instead of the standard 25. An example of the display from gloveplay is shown in figure 4.2.

  
Figure 4.2: Screen dump of the gloveplay program.

Together, these give a toolset that allows us to build applications for recording and visualising the data.



waleed@cse.unsw.edu.au