I am running depthai_demo.py on my OAK D pro W and got some x,y,z measurements of the object detected to the camera. It's really cool to see it, but I cannot find where the data for x,y,and z calculations is coming from. I do not know if the x,y,z are achieved because of the DEPTHAI_ZOO model or because of the Spatial Location Calculator, which I found in the depthai-python.examples. I would appreciate every help on addressing the syntax to call out x, y, and z data in the depthaidemo.py. I think it would be easier if I want to do that using spatial_location_calculator.py, but when I run the file and all other spatial files, it gives me "IndexError: cannot do a non-empty take from an empty axes." and I haven't seen this error when running other files in the depthai-python-examples folder.
thank you for all of the helps!