Hi spicyramen
I'm not sure I entirely understand what you are trying to achieve. Could you elaborate a bit?
For starters I guess you need coordinates of base keypoints of the hands (x,y z of the center) and compare that to some arbitrary bounding box you have set prior to that? So you would be detecting if the hand is located inside some 3d box?
Thanks,
Jaka