Attributes:
Methods:
The GestureList class extends the Python array to represent a list of Gesture objects.
Get a GestureList object by calling Frame.gestures().
#All the gestures between two frames (inclusive)
gesture_list = frame.gestures(last_frame_processed)
#Only the gestures for the current frame
gesture_list = frame.gestures()
New in version 1.0.
Constructs an empty list.
New in version 1.0.
Type: | boolean |
---|
Reports whether the list is empty.
if not frame.gestures(last_frame_processed).is_empty:
for gesture in frame.gestures(last_frame_processed):
print "Type: " + str(gesture.type)
New in version 1.0.
Appends the members of the specifed GestureList to this GestureList.
Parameters: | other (GestureList) – A GestureList object containing Gesture objects to append to the end of this GestureList. |
---|
New in version 1.0.