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.

TDA4VM: How do I read AEWB output in main.c ?

Part Number: TDA4VM

Tool/software:

Hi TI experts

Basically, I want to print AEWB logs of certain sensor in main.c. So how do I read AEWB in main.c, or in other way, how do I let aewb node which sensor's logs I want to see.

According to user guide:

I guess I can read logs from "aewb_output_arr", but I don't know how to decode it.

Best regards

Zhou

  • Hi Zhou,

    If you are using multi_cam demo, then you have to make aewb_ouput_arr as graph parameter. The output of aewb node will be an object_array, 0th index of the object array will be corresponding to capture channel 0 similarly 1st index will be camera channel 1 and same applies for number of channels enabled.
    You can refer to vxGetObjectArrayItem() api.

    Once you get the output you can decode the contents using this struct,

    Regards,
    Gokul

  • Hi Gokul

    Thanks for reply

    This was I how I decode, but I got wront infomation.


    And I found another function to decode: 

    Now I can get right infomation.

    Best regards

    Zhou