Code used in the Mirror Game project to automatically detect Co-Confidence (CC) motion. See details in (Noy, Binun &Golland, 2015).
The code is published here in order to describe the exact details of the alogrithm. Some of the functions might need other toolboxes to run. I tried to put all needed functions here, contact me if something is missing.
The two main function that compute the CC detection are:
MG_Tools_CC_AZC
MG_Tools_Segments_Acc_Zero_Cross
See inside the code for detailed information
Ref:
L. Noy, N. Levit-Binun, and Y.
Golland, “Being in the zone: physiological markers of togetherness in joint
improvisation”, Frontiers in Human Neuroscience, 9:187, 2015