Drawing and Writing on Images using OpenCV

DRAWING RECTANGLES:

Method used for drawing Rectangles:

DRAWING CIRCLES:

Method used for drawing Circles:

Code snippet for drawing circles

DRAWING LINES:

Method used for drawing Lines:

Code snippet for drawing lines

PLACING TEXTS ON IMAGES

The method for placing texts on images expects a lot of parameters, we’ll go over them all one by one.

Code snippet for putting text on an image

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Faiza Anan Noor

Faiza Anan Noor

A novice developer/programmer on a quest to explore the world of coding and development. It's tough, bumpy and scary. But that doesn't hold this lady back!