Tutorial: How to Scale and Rotate Contours in OpenCV using Python

NVS Abhilash
Jun 29, 2019 · 6 min read

In this tutorial, I’ll walk you through how one can scale and rotate a contour based on OpenCV Python API

Follow along, if you want to understand what’s the simple idea behind the implementation.


Why would one want to scale or rotate a contour of objects in an image? For me, I had a very…