Closed halakhazer closed 6 months ago
Hi @halakhazer - were you running on latest main/develop and have depthai==2.26.0.0
installed?
I tested with now with the latest release and it seems to be working fine for me.
yes that error stopped showing after upgrading to 2.26.0.0, however after running the code i got this result, i am currently using oak-d pro camera. [1944301071F8992E00] [1.9] [28.418] [ToF(0)] [error] Unexpected input image size 1920 x 1080, maybe connected camera is not ToF?
i am trying to get the depth map for the camera view, is Tof the right choice?
Depends on what device are you using.
Would you mind sharing more about the device you have? (OAK-D, OAK-D-SR, ...)
Hi @halakhazer , oak-d pro does not have ToF sensor. Only OAK-D-SR-POE has ToF sensor integrated. For OAK-D-Pro you should check StereoDepth examples.
hello when i run the tof_depth.py code from the examples i get the following error, it is from the original code i did not make any changes on it: Traceback (most recent call last): File "/home/admin1/Downloads/FoundationPose-main/tof_depth.py", line 51, in
pipeline, tofConfig = create_pipeline()
File "/home/admin1/Downloads/FoundationPose-main/tof_depth.py", line 28, in create_pipeline
tofConfig.enableTemperatureCorrection = False # Not yet supported
AttributeError: 'depthai.RawToFConfig' object has no attribute 'enableTemperatureCorrection'