Hi guys,
I am trying to implement 2 TIDL Node in one process. The demo code folder I use is /ti-processor-sdk-rtos-j721e-evm-xx-xx-xx-xx/vision_apps/apps/dl_demos/app_tidl.
I modified the code, and tried to make it run in a large project to realize object detection tasks.(compile the code into a dynamic library file, and use an exe to invoke the dynamic library running on TDA4VM)
Several days ago, I received another requirement from my college: to detect some other types of objects. So I copied the folder, compile the new folder into another dynamic library, and use the same exe to invoke these two dynamic libraries, and then something weird happened.
Everything in the first dynamic library which contains the fisrt TIDL-Node runs well, graph successfully created and verified, objects successfully detected out; but the graph of the second TIDL-Node cannot be successfully verified. I am just wondering if I can implement 2 TIDL-Nodes in one process? or the reference name set by vxSetReferenceName() should not be the same?
the tivxTIDLNode set as shown in the following pic:
other properties set by vxSetReferenceName() as shown in the following pic:
the program stopped when verifying the graph of the second TIDL-Node at line 972 in the following pic:
I would really appreciate it if someone could solve my problem