I am developing a DL
model in which I need to reposition of the image object to certain location within the same image itself. Example:
From this image I need to reposition sprite bottle to right hand side.
How can I do that?
I have experimented with the keras
library using ImageDataGenerator
class,but here I am getting different generated image for same width_shift_range and height as well for every run of model.link here:
https://blog.keras.io/building-powerful-image-classification-models-using-very-little-data.html
How to fixed this issue.
from keras.preprocessing.image import ImageDataGeneratordatagen = ImageDataGenerator(rotation_range=40, width_shift_range=0.2,height_shift_range=0.2)