Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to integrate custom object detector to get spatial coordinates? #1040

Open
Phyrokar opened this issue Jun 20, 2024 · 1 comment

Comments

@Phyrokar
Copy link

I have an OAK-D Pro camera and would like to feed the bounding box of a custom object detector into the SDK to get the spatial coordinates of the object. Is there a way or an example for this?

@Erol444
Copy link
Member

Erol444 commented Jun 20, 2024

Hi @Phyrokar ,
One option would be to use Script node to decode the NN results (get BBs - Boudning Boxes), to create SpatialLocationCalculatorConfig and add ROIs (BBs) to it, then send it to SpatialLocationCalculator node to calculate the spatial coordinates.
You can check "Edge" mode of this repo which does that:
https://github.com/geaxgx/depthai_blazepose
Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants