Skip to content

vxVerifyGraph #37

@xiaodan7

Description

@xiaodan7

hi,I want to ask a question, hope you can help me
I used this routine
https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-acinto7/latest/exports/docs/vision_apps/docs/user_guide/APP_C7X.html

I modified the app_create_graph(AppObj *obj) in the main() function of the app_c7x_kernel function
I want the photos created to be RGB, and the output is also RGB
Therefore, I modified this variable
obj->input_img1 = vxCreateImage(obj->context, obj->width, obj->height, VX_DF_IMAGE_U8);
I changed VX_DF_IMAGE_U8 to VX_DF_IMAGE_RGB
obj->input_img1 = vxCreateImage(obj->context, obj->width, obj->height, VX_DF_IMAGE_RGB);
creatimg

vxVerifyGraph() Reported an error
ERROR: Input/Output image format not correct !!!
0.2188s: VX_ZONE_ERROR:[ownGraphNodeKernelValidate:535] node kernel validate failed for kernel app_c7x_kernel.img_add at index 0
0.2206s: VX_ZONE_ERROR:[vxVerifyGraph:1947] Node kernel Validate failed
0.2213s: VX_ZONE_ERROR:[vxVerifyGraph:2115] Graph verify failed
0.6728s: VX_ZONE_ERROR:[tivxObjectDeInit:180] Is kernel use failed
0.6753s: VX_ZONE_ERROR:[tivxObjectDeInit:276] Is error use failed

The error function is node->kernel->validate()
status = node->kernel->validate(node, node->parameters, num_params, meta);
The result of the statue is:-10
status

status :-10 corresponds to the definition as:
VX_ERROR_INVALID_PARAMETERS = -(vx_int32)10,/*!< \brief Indicates that the supplied parameter information does not match the kernel contract. */

When the status is 0, it is successful

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions