Format with which the accelerometer data is fed for gesture classification

I am running a gesture recognition program in Raspberry pi by forwarding the accelerometer data from another device , in what format the data should be passed for the classifier ,
Is it x,y,z, x,y,z … x,y,z or x,x,x…,y,y,y…z,z,z… or something else , where x,y ,z represent the acceleration values from different axis

Hi @vinaycs,

You need to pass them axis by axis (x,y,z … z,y,z). You can read more about the format here:


I am doing that in python , so will it be the same in python too ?

Yes the format will be the same.