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

Add vpi_stereo #681

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open

Conversation

ctracey-nv
Copy link

Add the vpi_stereo sample app to demonstrate the following:

  • How to configure VPI in a Holohub container
  • How to wrap Tensor buffers into VPIImages and call VPI APIs
  • How to run stereo disparity estimation on a combination of OFA, PVA and VIC hardware accelerators to offload computation from the GPU

ctracey-nv and others added 15 commits February 14, 2025 11:13
Introduce a new application that shows how to integrate VPI
in Holohub and run stereo disparity estimation.

Signed-off-by: Colin Tracey <[email protected]>
Rather than repeatedly creating and destroying heavy-wieght
VPI objects, initialize them in start, reuse in compute, then
teardown in stop.

Signed-off-by: Colin Tracey <[email protected]>
Parse the VPI stereo parameters from yaml config file
rather than hard-coding them.

Signed-off-by: Colin Tracey <[email protected]>
0 indicates invalid disparity, so should be visually distinct.

Signed-off-by: Colin Tracey <[email protected]>
The INFERENCE confidence type has better results overall,
so use it when possible.

Signed-off-by: Colin Tracey <[email protected]>
Decouple the desired resolution for disparity estimation from
the input resolution of the video frames. Rescale as necessary

Signed-off-by: Colin Tracey <[email protected]>
Verified on an IGX 1.1 system using Holoscan 2.6 base image

Signed-off-by: Colin Tracey <[email protected]>
Fix up the README and adjust application IO to reuse the
stereo_vision sample data and reduce the number of files
in this sample app.

Signed-off-by: Colin Tracey <[email protected]>
Multiple headers and libraries were not actually required.
Trim the excess.

Signed-off-by: Colin Tracey <[email protected]>
Add a colorful gif to make the readme more fun.

Signed-off-by: Colin Tracey <[email protected]>
Since Dockerfile will be picked up by default, no need to be explicit
in adding it. Also move required envar into dockerfile itself, and
add a little more context to the application description.

Signed-off-by: Colin Tracey <[email protected]>
It's 2025 now.

Signed-off-by: Colin Tracey <[email protected]>
Add replayer source option like stereo_vision has

Signed-off-by: Colin Tracey <[email protected]>
Some extra packages which shouldn't be required.

Signed-off-by: Colin Tracey <[email protected]>
Signed-off-by: Colin Tracey <[email protected]>
add a short (10 frame) test suitible for automated
sanity testing using ctest.

Signed-off-by: Colin Tracey <[email protected]>
Minor cosmetic issues identified by lint scripts. Some
seem questionable, like 'multi-line string' when just a
string literal with R is being used.

Signed-off-by: Colin Tracey <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants