Hi,
I am working on a project to detect spools (reels) as shown below in an example image using the OAK-D 3d camera. I have trained a custom model and it is able to detect the spools. The spool has a very unique design with to circles (flanges) on the sides and a drum/barrel in the center which eventually grows in size as product in wrapped around it to overall look like a cylinder.
![](https://discuss.luxonis.com/assets/files/2024-05-15/1715790796-248899-image.png)
![](https://discuss.luxonis.com/assets/files/2024-05-15/1715790877-24838-image.png)
![](https://discuss.luxonis.com/assets/files/2024-05-15/1715789826-728866-2024-01-19-00-00-00677155-3.jpg)
However, in case of multiple spools being detected in a frame, I wanna chose the one which is closest to the camera as that will be the spool of interest to us. Now, given that the camera has 3D capabilities with depth and disparity frames available, I wanted to check with you if you would have any suggestions for doing this using the available 3D data from OAK-D cameras.
Thanks,
Yishu