Closed scottclowe closed 9 years ago
Turned out to be because of the resize
function, which was padding to square shape by edge replication. I have changed this to pad with white now.
As far as I am aware, all the augmentation functions will pad with white, so we will consistently have our image looking nice on a white background.
My notebook for viewing the augmented images shows some of the images have grey lines running from the edge of the pre-augmented-image to the edge of the augmented-image.
Want to remove these.