I cant imagine this hasn’t been asked, but i couldn’t seem to search the answer in the forum. I am using the kinect (v2) chop to scan a room of six people. I want to select the person closest to the sensor. Currently I have all the head points on the z axis in a select chop and their numbers. How do I compare these numbers and select only the nearest person or in this case, the smallest value? I haven’ been able to find an object that does this.

I think the analyze chop offers to show you which channel has the minimum value. Python is an option too of course! This for example gives you the index of the maximum value in a list

import numpy as np
ind = np.argmax(mylist)
hope that helps a bit,
cheers!

If you have the 6 Z values in a CHOP with 6 channels, use a Shuffle CHOP to get them into 1 channel, then use an Analyze CHOP set to Max Index or whatever it is. The value is the index of the person whose Z value is highest, 0 being the first.

(An upcoming version of the Analyze CHOP will have more analysis options.)