Closed ccl-private closed 3 years ago
After I read and rewrite all the images into .jpg files use OpenCV. The problem was solved. Maybe PIL does not have the ability to handle RGBA images by default set.
After I read and rewrite all the images into .jpg files use OpenCV. The problem was solved. Maybe PIL does not have the ability to handle RGBA images by default set.
I will look in to this. Other functions support RGBA, and the random_erasing()
function should also work with RGBA images, so I will have a look and see if I can fix this.