get gesture in Processing

get gesture in Processing

Code:

PXCMGesture.Gesture gdata=new PXCMGesture.Gesture();    

if(pp.QueryGesture(PXCMGesture.Gesture.LABEL_POSE_THUMB_UP,gdata)){      

    if (gdata!=null) print("hello: \n");    

}    

 

but can not get. help,thank you. 

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

have you enabled gestures with pp.EnableGestures()

Check my C# samples github repo and check out the implementations to see how to setup your preferred pipeline.

http://software.intel.com/en-us/forums/topic/404773

Thanks!

PXCUPipeline pp;

void setup() {   

  size(640,480);   

 pp=new PXCUPipeline(this);   

 pp.Init(PXCUPipeline.GESTURE);

Use Processing.

 

Leave a Comment

Please sign in to add a comment. Not a member? Join today