Skip to content

Glossary: Computer Vision Basics

Resize

Also written: v2.Resize

A transform that changes image size. `Resize(64)` scales the shorter side to 64 and keeps the aspect ratio, while `Resize((64, 64))` forces the exact size and squashes the photo.

Where the book teaches it

Related terms

CenterCropaspect ratioantialias