shlogg · Early preview
Super Kai (Kazuya Ito) @superkai_kazuya

Understanding Random Rotation In Software Development

RandomRotation(degrees=d, interpolation=ip, expand=e, center=c, fill=f)

Buy Me a Coffee☕
*Memos:

My post explains RandomAffine().
My post explains RandomPerspective().
My post explains OxfordIIITPet().

RandomRotation() can rotate an image randomly as shown below:
*Memos:

The 1st argument for initialization is degrees(Required-Type:int, float or tuple/list(int or float)):
*Memos:

It can do rotation.
It's the range of the degrees [min, max] so it must be min <= max.
A tuple/list must be the 1D with 2 elements.
A single value must be 0 <= x.
A single value means [-degrees, +degrees].


The 2nd argument for initialization is interpolation(Optional-Default:Interpo...