leap-record

Record a gesture sample with your leap motion device

leap-record

Record a gesture sample with your Leap Motion device.

You get leap-record, a simple command-line utility that redirects the JSON-encoded frames emitted from the Leap's websocket stream to a file. The resulting motion sample consists of line-delimited JSON. To indicate the nature of the formatting, you'll want to use either .ldj or .ldjson as your file extension.

leap-record [sample.ldj]

You'll get prompted to start and stop your recording:

Hit return to start recording ...

After hitting return:

Hit return again to stop recording ...
npm install -g leap-record