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.

TDA4VH-Q1: app_tidl_od

Part Number: TDA4VH-Q1

Hello, TI Technical Support.

The SDK I am currently using is this processor-sdk-rtos-j784s4-evm-08_06_00_14.

I want to integrate Deepsort in the app_tidl_od demo in dl_demos, what should I do?

Where is the result of model inference (classid, confidence, box) in app_tidl_od?

Looking forward to your reply.

Best regards,

Yangqi.

  • Hi Yangqi,

    I want to integrate Deepsort in the app_tidl_od demo in dl_demos, what should I do?

    Would you be doing the deepsort in a node or is it integrated in the model that you would be passing?

    If it is a node, you could add this node into the graph.

    Where is the result of model inference (classid, confidence, box) in app_tidl_od?

    We have an API writeTIDLOutput() which would printout the contents of the output tensor from the tidl node into a file. Please let me know if this is what you are looking for?

    Regards,

    Nikhil

  • Hi Nikhil,

    thanks for your reply,

    I would try DEEPSORT in the node and then add that node to the graph,

    writeTIDLOutput() error: Unable to open file /opt/vision/yqtest_writeTIDLOutput.log_tensor_0_1405x1x1_ch0.bin for writing!

    I'll try writeTIDLOutput() again tomorrow,

    Regards,

    Yangqi.

  • Hi,

    yqtest_writeTIDLOutput.log_tensor_0_1405x1x1_ch0.bin

    Could you remove .log from above and give filename something like "tidl_output" so that the file name becomes tidl_output_tensor_0_1405x1x1_ch0.bin

    Regards,

    Nikhil

  • thank you,

    Can the demo of app_tidl_od be modified and compiled using C++ and opencv?

    Regards,

    Yangqi

  • Hi Yangqi,

    In the SDK, all the vision_apps demos are compiled for C. 
    You could always modify the same to C++ by doing appropriate changes in the compiler.

    OpenCV is not available in the SDK. You would have to integrate the libraries on A72.

    Regards,

    Nikhil

  • Hi,

    What should I do to change the compiler of app_tidl_od to g++.

    Regards,

    Yangqi

  • Hi Yangqi,

    To build a c++ application you could refer the concerto.mak in ${PSDKRA}/vision_apps/apps/utilities/app_mem/.

    Even though the .cpp is for x86 here, the same compiler settings could be used for A72.

    For the libraries that are built for C. Hence, for cpp support, you may have to add and rebuild the libs after adding "extern C" in the header files for the libraries that are throwing error during the build process.

    This has not been tried on the SDK, as the application is based on C.

    Regards,

    Nikhil