Error generated while running the code after connecting the camera

Hi,
Transparent pixels are not supported. Please refer to discussion in the topic:
Nvcompositor plugs alpha is not work and alpha plugs no work

The whole image can be blended in single alpha value. For this use-case the dices have alpha=1 and other pixels have alpha=0(transparent). This is not supported in hardware converter.