Get depth of XY region or point XY [Feature-Request] {Title of feature request}
akshaydhame2001 opened this issue · 1 comments
akshaydhame2001 commented
I want use YOLOv8 on Jetson and then use OAK-D to get just depth of object using bounding box or centroid cordinates
akshaydhame2001 commented
mock ROI
config = dai.SpatialLocationCalculatorConfigData()
topLeft = dai.Point2f(0.4, 0.4)
bottomRight = dai.Point2f(0.6, 0.6)
config.roi = dai.Rect(topLeft, bottomRight)
spatial_calc.addROI(config)