I am thinking of using cv.jit.framesub to detect the frame difference amount (the movement "ammount" of a person) so that I can use the result to trigger something when it passes a certain threshold. But cv.jit.framesub outputs matrix, and I don’t how I can calculate the frame difference amount from it.
Any suggestions ? Or are there any other objects more suitable for doing this ?
PS: My main intention is to use some kind of motion tracking to let dancers to control audio or video. Please give some suggestions.