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.

TDA2EXEVM: PROCESSOR_SDK_VISION_03_05_00_00 usecase issue

Part Number: TDA2EXEVM

Hi ,

I migrate to the new version SDK PROCESSOR_SDK_VISION_03_05_00_0,

And in the TIDL OD usecase, I modified it from video-input to camera-input.

And it runs properly but i observe some frame drop after the initial frame.

(Initial is 30 fps but it will drop to 23 after some frames)

I wonder if i have some mistake when i modified the usecase files.

The old version SDK PROCESSOR_SDK_VISION_03_04_00_0 does not have this issue.

Below files are the usecase log and the modified files.

Thank you in advance.

usecase_files.rar

Best Regards,

Eric Lai

  • Hi,

    The issue was solved.

    The performance dropping is caused by the reason that the TIDL model files is generated by the old version.

    It seems that the OD usecase in SDK 0305 is not compatible with the old version tidl TIDL.01.01.01.00.

    Thank you.

    Best Regards,

    Eric Lai

  • Hi,

    Glad that you are able to resolve your issue.
    Please close the thread.

    Regards,
    Anuj
  • Hi Anuj,

    Sorry for bothering again.

    I use another models , and issue appear again.

    The frames drops , and the fps going down.

    Please give me some suggestion.

    Here is the usecase log:

    usecase_log.txt

    Best Regards,

    Eric Lai

  • Hi,

    Can you please increase the value of SYNC_THRESHOLD macro in \vision_sdk\apps\src\rtos\usecases\tidl_OD\chains_tidlOD.c file
    Adjust it to proper value where you dont see any frame drop by sync link.

    Regards,
    Anuj
  • Hi Anuj,

    Thank you for your response.
    I try to increase the value from 600 to 800 ,1000 and also 2000.
    But after some frames, it still have some frame drop.
    Should i try to increase it to larger value?
    Btw, the old version SDK-0304 OD usecase did not have this issue.
    Use the default value 600 and it works well.

    Best Regards,
    Eric Lai
  • Hi,

    Have you created your model using the new tidl release?
    And that works with VSDK v3.4 but not with 3.5?

    Regards,
    Anuj
  • Hi Anuj,

    I have two model ,the one is faster(4 EVE 30 FPS) the other one is slower(4EVE 25FPS)

    I observe the below cases:

    1. Faster model import using old version TIDL .
    with new usecase , frame drop.
    2. Faster model import using new version TIDL.
    with new usecase , no frame drop.
    3. Slower model import using new version TIDL.
    with new usecase, frame drop.
    4. both models on the old usecase ,no frame drop

    I have no ideal about this issue.
    Could you please tell me the above usecase files is proper or not?
    Best Regards,
    Eric Lai
  • Hi Eric Lai,

    From old version of TIDL(01.01.01.00) to this new version of TIDL(01.01.02.00) nothing much changed, so we are not expecting any change in the behaviour between these two releases.

    Can you double check your observations once?

    If you still see these differences, can you profile your both old and new models on TIDL test bench and check are there any differences in the performance on standalone also?

    Thanks,
    Praveen
  • Hi Praveen,

    Thank you for your response.

    I am not sure about the issue is caused from TIDL or the usecase.

    But I guess it is more possible that it was caused by the usecase i built.

    Here are some other observation.

    I built other three usecase for OD , so totally I have four use-case:

    1. OD using 4EVE (video input)

    2. OD using 4EVE (camera input)

    3. OD using 3EVE (video input)

    4. OD using 3EVE (camera input)

    And for the faster model i mentioned above.

    usecase 1 and 2 :  okay , no frame drop

    usecase 3 and 4:  frame drop

    For the slower model:

    usecase 1 : no frame drop.

    usecase 2 3 4 : frame drop.

    It seems that the use-case i built have some problem.

    The 4eve camera in usecase log and files are on the top of this thread.

    And here i put the 3eve camera in usecase log and files.

    Could you please help me to check if my files are proper or not?

    Thank you so much.

    Best Regards,

    Eric Lai

    3EVE_camerain_usecase.rar

  • Hi,

    Any updates?
    I am not sure if my usecase setting is wrong or correct.
    Would you please give me some suggestion.

    Best Regards,
    Eric Lai
  • Hi,

    1st thing please dont use camera input.
    Use the sd card input file.

    If with the same model using 4 eve there is no frame drop and with 3 eves there is frame drop then the issue could be with usecase.
    But as you are using 3 eve so you have to reduce the FPS, so can you try with 20 FPS with opp-high MLO

    Regards,
    Anuj
  •  Hi Anuj,

    Thank you for your response.

    I lower down the fps of 3EVE video input use-case.

    And I do not observe any frame drop now.

    It's great. Thank you.

    But for the camera input usecase, it's the same.

    Would you please help me to check the 3EVE camera input use-case files?

    2350.3EVE_camerain_usecase.rar

    Best Regards,

    Eric Lai

  • Hello Anuj,

    Any updates?
    I am not sure if my use-case is wrong or not , but seems proper.

    Best Regards,
    Eric Lai
  • Hello ,

    Any updates?
    Please give me some suggestion.

    Best Regards,
    Eric Lai
  • Hi,

    As mentioned above, TI does not support TIDL usecase using camera input.

    Regards,
    Anuj
  • Hi,

    Okay, I got it .
    Thank you so much.

    Best Regards,
    Eric Lai