3 ms·
I don't think that's the case, it looks to be a zoom and reinterpret. I wonder what tradeoffs doing it the other way around would bring? rot_mat = cv2.g
by operator-name 4y ago
I don't think that's the case, it looks to be a zoom and reinterpret. I wonder what tradeoffs doing it the other way around would bring?
rot_mat = cv2.getRotationMatrix2D(center, angle, scale) # the zoom variable is passed as scale
https://github.com/deforum/stable-diffusion/blob/5241ce950586bd22f09f37365f22794acf7f6daf/Deforum_Stable_Diffusion.py#L489 https://github.com/deforum/stable-diffusion/blob/5241ce95058...
Edit: having looked carefully at the video, these are pretty different. Inpaining keeps the original crop the same, whereas this version allows the model to reinterpret the original.