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.

TDA4VH-Q1: VIPC configuration for fisheye camera

Part Number: TDA4VH-Q1
Other Parts Discussed in Thread: TDA4VH

Tool/software:

Hi, 
We are working with the TDA4VH evaluation board (J784S4) with SDK version  09.02 

In our project we need to run inference on images arriving from fisheye like camera, but first we need to run Demosaic and Distortion correction operations on it (prior to running the inference itself) 
thus, we are trying to utilize the VPAC accelerator on the board to help us with the tasks above and would really appreciate your help in the process: 

The fisheye surround camera we are using is: 

Manufacture: Continental 

Model: SVC 220 

Image Resolution: 1920x1280 pixels 

Data format: 12 bits per pixel 

The images are transmitted in RAW BGGR color format. 

As far as we understood we might need to use TI DCC tool in some manner and we already managed to get the tool and install it on our local PCs, and we are stuck at this point. 

Thank you in advance for your help. 

Alex.

  • Hello,

    Our expert handling this topic is based in India timezone and they have regional holiday . Hence expect couple of day delay in response. Thanks.

  • Hello Paveen Rao, 
    Thank you for the quick answer, are there any updates regarding the expert? 

  • Hi Alex,

    Both of these operations, ie RAW to YUV conversion and distortion correction could be done in VPAC modules. What information are you looking for ? 

    Regards,

    Brijesh

  • Hello Brijesh, 
    Thank you for your answer, and sorry for my delay response, I was on vacation. 
    We know that VPAC can be used for both Demosaic and Distortion Correction operations (we already implemented a solution for other project we had doing just that for a pin hole front camera). 
    In our current project we use a different set of cameras (as I specified above Surround fisheye cameras) and we tried to work with DCC tool to create the needed XML configuration files for the VPAC accelerator and later to configure the VPAC to use that configuration and run the Image processing operation and we failed, in the following locations: 

    1. DCC didn't complete his processes clearly, we received several errors in the process, and saw invalid images in the preview screen. 

    2. The VPAC failed upon initialization of VxGraph when we tried to use the generated configuration from the previous steps. 

    So, we understand that we need help with both those steps. 

  • Hello Alex,

    Can you please share the error messages from both A72 and R5F? This will help us to identify the issue in the configuration. 

    Regards,

    Brijesh

  • Here are the errors we see: 

      - vxVerifyGraph failed with status -1 for index 0
    263287.115680 s:  VX_ZONE_ERROR:[ownContextSendCmd:875] Command ack message returned failure cmd_status: -10
    263287.115690 s:  VX_ZONE_ERROR:[ownNodeKernelInit:590] Target kernel, TIVX_CMD_NODE_CREATE failed for node node_108
    263287.115694 s:  VX_ZONE_ERROR:[ownNodeKernelInit:591] Please be sure the target callbacks have been registered for this core
    263287.115697 s:  VX_ZONE_ERROR:[ownNodeKernelInit:592] If the target callbacks have been registered, please ensure no errors are occurring within the create callback of this kernel
    263287.115702 s:  VX_ZONE_ERROR:[ownGraphNodeKernelInit:608] kernel init for node 0, kernel com.ti.hwa.vpac_viss ... failed !!!
    263287.115742 s:  VX_ZONE_ERROR:[vxVerifyGraph:2159] Node kernel init failed
    263287.115746 s:  VX_ZONE_ERROR:[vxVerifyGraph:2213] Graph verify failed

    [MCU4_0] 263287.115240 s:  VX_ZONE_ERROR:[tivxVpacVissSetRfeConfig:481] Failed to set H3A Config !!!
    [MCU4_0] 263287.115291 s:  VX_ZONE_ERROR:[tivxVpacVissCreate:705] Failed to Parse and Set non-DCC Params
    [MCU4_0] 263287.206481 s:  VX_ZONE_ERROR:[tivxVpacVissSetRfeConfig:481] Failed to set H3A Config !!!
    [MCU4_0] 263287.206531 s:  VX_ZONE_ERROR:[tivxVpacVissCreate:705] Failed to Parse and Set non-DCC Params
    [MCU4_0] 263287.267881 s:  VX_ZONE_ERROR:[tivxVpacVissSetRfeConfig:481] Failed to set H3A Config !!!
    [MCU4_0] 263287.267928 s:  VX_ZONE_ERROR:[tivxVpacVissCreate:705] Failed to Parse and Set non-DCC Params
    [MCU4_0] 263287.323551 s:  VX_ZONE_ERROR:[tivxVpacVissSetRfeConfig:481] Failed to set H3A Config !!!
    [MCU4_0] 263287.323598 s:  VX_ZONE_ERROR:[tivxVpacVissCreate:705] Failed to Parse and Set non-DCC Params
    [MCU4_0] 263287.380113 s:  VX_ZONE_ERROR:[tivxVpacVissSetRfeConfig:481] Failed to set H3A Config !!!
    [MCU4_0] 263287.380161 s:  VX_ZONE_ERROR:[tivxVpacVissCreate:705] Failed to Parse and Set non-DCC Params

  • Hi,

    As the error says, the H3A parameters seem incorrect. Please h3a xml file for the review. 

    Regards,

    Brijesh