Software Archive
Read-only legacy content
17061 Discussions

Adding new gestures - some tips

Scott_W_1
Beginner
489 Views

I don't know if this is much help to anyone as it is not yet completed, but I've made progress in figuring out how to add new gestures.

This procedure is based on the C++ hand viewer demo:

The dropdown list of gestures is created on the fly based on the contents in:

D:\ProgramData\Intel\RSSDK\v3\data\hand_data\Gestures

That folder contains two files for each gesture. One apparently sets up the format of the data and the other provides the data.

I'm creating code to recognize American Sign Language fingerspelling. Three of the existing gestures are identical to American Sign Language, but use a different name. All I need to do to adjust those to my needs is change the file names and then change the references within the files to refer to the correct updated gesture name.

The spreadfingers gesture is the same as the American Sign Language (ASL) 5_hand. Here are the steps:

  1. Go to the gestures folder (see above) and copy the spreadfingers files to the desktop,
  2. Rename both files "5_hand" (leaving the extensions alone).
  3. Open the 5_hand.xml file and use search and replace - changing "spreadfingers" to "5_hand" in Notepad+ (highly recommended for search and replace across multiple documents).
  4. Drag the updated files back into the gestures folder.
  5. Run the handviewer example and the new gestures should appear and work.

Next step - figuring out he .gesta file structure so I can create NEW gestures instead of just renaming existing gestures.

Does anyone have the .gesta data structure already figured out? If I can figure out the structure, I can create an editor - maybe even something to convert hand poses from Poser, Daz, or iClone.

0 Kudos
1 Reply
Scott_W_1
Beginner
489 Views

Note:

The file path may be different. I have a dual boot Operating System setup, so my Windows 8 is on drive D. Most people will have it on drive C.

My computer:

D:\ProgramData\Intel\RSSDK\v3\data\hand_data\Gestures

Most will find the gesture folder here:

C:\ProgramData\Intel\RSSDK\v3\data\hand_data\Gestures

0 Kudos
Reply