Use camera_v4l2_cuda to capture streaming displayed in center of the screen

Sir,

/home/nvidia/camera_v4l2_cuda -d /dev/video0 -s 1920x1080 -f UYVY -n 300

Capture device0 streaming and HDMI output is displayed in the upper left corner of the screen

Who knows how to change the position displayed on the screen ?

thanks in advance.

Hi,
The width, height, x offet, y offset are configured in

    /* Create EGL renderer */
    ctx->renderer = NvEglRenderer::createEglRenderer("renderer0",
            ctx->cam_w, ctx->cam_h, 0, 0);

Please set to desired configuration and rebuild the sample.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.