Got all the detections working.
I am doing this with "pose" recognition. For example, the first movement is this
What we do for test is the following:
(OtherHand = left hand, ActivationHand = right hand)
(YPositionOtherHand < YPositionHip)
&&
(YPositionActivationHand > YPositionHead)
We get the Y coordinates from the required joints en do this test. If true, a timer starts running, if you hold the pose for X seconds, fire animation will start.
Geen opmerkingen:
Een reactie posten