New software allows nonspecialists to intuitively train machines using gestures