I got a detector now for the palm positions: up, down, in, out, forward, backward.
I'm doing the palm direction detection based on the palm Z axis, the view forward, up, right axes, and the dot product between them. This seems to give me more flexibility than the PalmDirectionDetector.
Now I need to detect the gesture itself. Somehow that both hands with palm pointing up have moved vertically?