leap-record
v0.0.2
Published
Record a gesture sample with your leap motion device
Downloads
4
Readme
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.
Install with npm install -g
.
Usage
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 ...