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.

RTOS: How TIDL OD usecase works?

Tool/software: TI-RTOS

Hi,

Could you please confirm whether i understand the process of TIDL OD usecase correctly?

I refered the source code and flow diagram of TIDL OD.

1. IPU get the input frames and decode / Video processing / Duplicate

2. A15 convert RGB format frames to YUV  format

3. 4 EVE cores do computation of layers that allocated to EVE cores (by using LayerGroupsID)

4. DSP also do computation of layers that allocated to DSP

5. IPU merge the input frames and result of DL network

6. TIOP on DSP

7. IPU draws objects

8. Display the result

In addition, i also want to know what is the role of Merge and Object propagation.

Actually, i did read TIObjectPropogation_DSP_UserGuide but can not understand easily.

  • Hi,

    You have understood correctly except point 2.

    A15 converts yuv420sp data to bgr planer.

    Role of merge link is merge the input yuv data and output of tidl to to multiple channel of a single queue ans the same pass to sync link to check whether frames are in sync or not.

    TIOP is used to improve the performance of TIDL.

    It reduces the number of false detection and missed detection.

    Regards,

    Anuj

  • Hi,
    Thank you for reply.

    However, i refered the source code implementing tidl_preproclink and setting its parameters.
    In chains_tidlOD.c, there is pUcObj->Alg_tidlpreprocPrm.procMode = TIDLPREPROC_PROCMODE_Y2R;
    And in AlgorithmLink_tidlpreprocProcess, there is switch case corresponding TIDLPREPROC_LINK_PROCMODE_Y2R.
    It seems like preprocessing is for converting YUV2RGB as the name of case indicating.

    Could you re-check for this?
    Thanks in advance.

    Regards,
    Yoo.
  • Hi,

    The name is Y2R but if you see the implementation of that then you will understand its BGR format.

    We can not give a name like Y2B as a lot of people will not understand this.

    BGR is also a kind of RGB format only, so we say it as Y2R.

    Regards,

    Anuj

  • Hi,

    Its been long since any update on this thread.
    I hope the issue is resolved.
    If not then please reply below or create a new thread in case of any other issue.

    Regards,
    Anuj