-
Notifications
You must be signed in to change notification settings - Fork 235
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
Arbitrary crop/rescale/reformat and ROI return #249
Comments
Hi Luxonis-Team, if I understand this feature right, it will enable the depthai device to crop a defined ROI and send this ROI with high resolution (uncompressed) to the host. For example: Is this possible with Gen2 pipeline builder and the december release? Im highly interessed in this feature and of cause your tremendous efforts in depthai hard- and software. |
Thanks @neixlo !
Yes, that's exactly right and exactly what we had envisioned this for.
Yes, that's exactly right.
I think we just finished this actually. But I need to check about when it will be integrated and usable in the Gen2 branch (it might be there already). @themarpe can you comment? And CC: @VanDavv Currently it can do:
For future features, we want to add:
Thank you for the kind words! There have been products in my past where I think "Man, I sure am happy that someone made this." This is exactly what we are trying to build here. So hearing this is great, and we hope to make it even more valuable over time. Thanks again, |
This is now merged into gen2_develop (where we soak things before going into core gen2). And here is an example in C++: And we'll be breaking these out to smaller examples on how to use these sorts of things (and then also integrating these examples into our auto-QA/CI system to test to make sure new builds/features don't cause regressions on core functionalities like this). |
Here is the Python example of how to use this: |
Awesome! |
Thanks for the update! |
Start with the
why
:Often in CV/AI pipelining there is some ROI (region of interest), or series of ROIs, which should be used in the pipeline - whether set dynamically based on results in the pipeline - or set statically based on some a-priori or tacitly-understood application information.
So being able to specify via the DepthAI API (USB, SPI (#140), or microPython (#207)) for the results from some other node (e.g. the color camera output) to be cropped, rescaled and/or reformatted and for this ROI to be returned (internally, to a next stage, or to the host) is very valuable.
And example is ignoring the hood of a car when making a smart dash-cam (as YOLO will identify the hood as 'car', and well, that is already known).
Move to the
how
:Implement support for at arbitrary crop/rescale/reformat Gen2 pipeline builder node (#136) which can be controlled by DepthAI API via USB, SPI, or on-board microPython.
Move to the
what
:Support arbitrary crop/rescale/reformat nodes as part of the Gen2 pipeline builder.
The text was updated successfully, but these errors were encountered: