i am trying to combine two codes together but i seem to be hitting a road block while trying to mesh the two together.

the goal i am trying to achieve is to measure the distance (z coordinate) in the bounding box while tracking where a hand is. if the hand coordinates are within the bounding box, the bounding box turns green.

spatial calculator: https://docs.luxonis.com/projects/api/en/latest/samples/SpatialDetection/spatial_location_calculator/#spatial-location-calculator
hand tracker repo (i used the demo file): https://github.com/geaxgx/depthai_hand_tracker

    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