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.

TDA4AL-Q1: How to implement frame drop statistics function

Part Number: TDA4AL-Q1


Dear TI expert,

        We want to print camera frame drops in real time. Is there an interface that can print frame drops. Thanks.

   

  • Hin daohong qin,

    What do you mean by frame drop statistics at runtime? Do you mean to get it periodically? I think there is a control command interface to get capture node statistics  can you get the capture statistics from the capture node using this control command and extract the stats that you are interested in?

    Regards,

    Brijesh

  • That can print  Frame Drop Count  when  run run_app_multi_cam.sh:

    [MCU2_0] 80.504963 s: Channel Num | Frame Queue Count | Frame De-queue Count | Frame Drop Count | Error Frame Count |
    [MCU2_0] 80.505029 s: 0 | 66 | 63 | 95 | 0 |
    [MCU2_0] 80.505092 s: 1 | 4 | 0 | 0 | 0 |
    [MCU2_0] 80.505155 s: 2 | 4 | 0 | 0 | 0 |
    [MCU2_0] 80.505218 s: 3 | 4 | 0 | 0 | 0 |

    But that can not print   Frame Drop Count  when  run vx_app_single_cam.out

    May I know what  control command interface it is ? Thanks.

  • You can use control command TIVX_CAPTURE_GET_STATISTICS to the capture statistics in tivx_capture_statistics_t structure. 

    Regards,

    Brijesh