A data generation pipeline for creating semi-realistic synthetic multi-object videos with rich annotations such as instance segmentation masks, depth maps, and optical flow.
Apache License 2.0
2.34k
stars
233
forks
source link
Fail to set custom background's alpha channel to 0 #292
I tried to set the background's alpha channel to 0 by scene.background = color.from_hexstr('#00000000') but it failed.
I also tried to set the background's color to white by scene.background = color.from_name('white'), it was expected to be (255, 255, 255) for bg color, but it was (205, 205, 205) or (206, 206, 206).
So I wonder how to set the bg's rgba effectively ?
I tried to set the background's alpha channel to 0 by
scene.background = color.from_hexstr('#00000000')
but it failed. I also tried to set the background's color to white byscene.background = color.from_name('white')
, it was expected to be (255, 255, 255) for bg color, but it was (205, 205, 205) or (206, 206, 206). So I wonder how to set the bg's rgba effectively ?