This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: Are there high level C++ / Python APIs for SDE?

Part Number: TDA4VM
Other Parts Discussed in Thread: DRA829

Tool/software:

I'm using the SDE (Sterro Disparity Engine) of the TDA4VM through the use of edgeai-gst-plugins.

Using the accelerator via gstreamer is quick and easy especially for testing the HW, but I'm now looking for options to use the SDE in a more programmatic way, e.g. in C++ or Python.

I saw there are sample implmentations in the sdk packages (like the one in the "PROCESSOR-SDK-RTOS-J721E — RTOS SDK for DRA829 & TDA4VM JacintoTm Processors" under \opt\ti-processor-sdk-rtos-j721e-evm-10_00_00_05\vision_apps\apps\basic_demos\app_stereo\main.c) but this looks very complex.

I also noticed there are some C Kernel APIs for accessing SDE, the edgeai-tiovx-modules test program for using sde (https://github.com/TexasInstruments/edgeai-tiovx-modules/blob/main/test/app_tiovx_sde_module_test.c) doesn't look too bad, but it still uses rather low level C functions (load the kernels, creating graphs of nodes ...).

So, are there higher level libraries / solutions for using the SDE? Something like the OpenCV's StereoSGBM_create() and stereoProcessor.compute()?

Thanks,
Loris

  • Hi Loris,

    SDE HW provides stereo disparity between the two frames and its upto the application on how to use these values.. We have a OpenVX nodes, which provides this disparity in the output image format, and these examples internally use this node to get the disparity value. 

    Regards,

    Brijesh