Ordering the input values


I want to track 4 points with ccv (community core vision) and send the data on tuio to vvvv where I want to apply the positions I receive to the corners of homography.
The troubles I have are:

  • Which Id is belonging to which corner (ccv is enumerating continuous the tracking blobs.)
  • If one tracking point is not visible, I want the last value he received for that corner to remain valid

any ideeas?


have a look at KeySort (Spreads) and its help patch. otherwise S+H (Value) in combination with some conditional sorting might help. with a FrameDelay (Animation) you could check which point was the nearest in the last frame to the current incoming value and write it at this position.