Skip to content

Glossary: Computer Vision Basics

CenterCrop

Also written: v2.CenterCrop

A transform that cuts a square out of the middle of an image. After `Resize(64)` it gives undistorted 64 × 64 squares, at the cost of losing the edges of wide photos.

Where the book teaches it

Related terms

Resizeaspect ratioCompose