asif erik What model of the OAK-D POE camera provides error less than 1.5% at 1m ground truth distance ?
premvijayakumar I have some clarification about OAK Camera We can capture the 7-segment display and convert to number ? Using OAK Camera ?
erik @asif just replied here: https://discuss.luxonis.com/d/343-accuracy-of-spatial-detection-and-possible-improvements/8
MamoonIsmailKhalid erik Can you please answer Asfanas question here? I am also trying to get the dispartiy converted into depth and can not find in the link you provided the basis for assuming 7.5 as a effective focal lenghth.. Kindly help as soon as you are able to
MamoonIsmailKhalid erik Thank you!!! I wanted to just follow up on this, I am using the code given here: (RGB, DEPT, CONFIDENCE aligned.py) https://github.com/luxonis/depthai-python/blob/main/examples/StereoDepth/rgb_depth_aligned.py Essentially I would need to take the disparity output and apply the formula: depth=441.25∗7.5/disparity(pixel) to calculate the depth?? Please answer this as I have been stuck on this for past 3 days and my head has been noodling up everday. THANK YOU IN ADVANCE!!!! Regards, Mamoon
erik Hi MamoonIsmailKhalid , If you have 7.5cm baseline distance and 441 [pixels] focal length then yes, that's the correct formula🙂 Otherwise, I would strongly suggest using depth output instead of calculating it yourself on the host. Thanks, Erik
MamoonIsmailKhalid How would one extract the depth data directly? Any code examples you can refer me to??I am using the depth data to extract depth information and to overlay it on the output of 2D pose estimation (Google Mediapie) to recosntruct a 3D pose of the key points extracted from Google mediapipe
jakaskerl Hi MamoonIsmailKhalid, You can extract depth data directly with depthai.node.StereoDepth.depth (reference to docs). One example which might help you, compares manual depth calculation (the formula you have been using above) to directly accessing depth trough ".depth" attribute. Hope this helps. Jaka
MamoonIsmailKhalid jakaskerl THANK YOU SO MUCH!! I will try that approach and post here if that solved my porblem. But I really appreciate your guidance already