sniklaus / 3d-ken-burns

an implementation of 3D Ken Burns Effect from a Single Image using PyTorch
Other
1.52k stars 225 forks source link

Camera X and Y shift in autozoom.py settings. Want horisontal camera moving #62

Open freedompix opened 2 years ago

freedompix commented 2 years ago

Hi! Thanks for your work! i guess, in collab version, you can only set camera x and y shift only by one parameter. Any ideas how to set up only X or Y separated? in coomon.py npyShiftU = numpy.linspace(-objSettings['fltShift'], objSettings['fltShift'], 16)[None, :].repeat(16, 0) npyShiftV = numpy.linspace(-objSettings['fltShift'], objSettings['fltShift'], 16)[:, None].repeat(16, 1) you can make fltShiftY and fltShiftX separated, it is question of friendly interface))