Hi,
I have a 2-stage processing pipeline where
1) a CNN is processing an image using a TIDL node. The output is a list of objects.
2) for every object, I want to run another CNN to process that data. The length of the list depends on the image input, but has some upper bound M.
I'm thinking of creating a second graph with one TIDL node and run it in a for loop for N times, N depending on the output of the first graph.
Alternatively, I thought of dynamically creating a second graph after I have the information about how many objects there are in this single frame and then deploy and run N TIDL nodes which get the N objects.
Alternatively again, I could have a custom node that is distributing the maximum M outputs to M TIDL nodes and trigger only N nodes in every cycle. Ideally the data would not leave the C7x to reduce overhead.
I could not find a TIOVX demo supporting this. Is there a best practice how to do this?
Thanks and regards
Dom