Get Text Size using OpenCV

Get Text Size using OpenCV

OpenCV has various drawing functions to draw geometric shapes such as line, rectangle, circle and write text on images. The getTextSize function calculates and returns width and height of a...
Draw Marker on Image using OpenCV

Draw Marker on Image using OpenCV

OpenCV provides various functions for drawing geometric shapes such as line, rectangle, circle, etc. The drawMarker function draws marker on an image by predefined x and y coordinates, marker type...
Draw Line on Image using OpenCV

Draw Line on Image using OpenCV

OpenCV provides functionality for drawing geometric shapes such as line, rectangle, circle, etc. The line function can be used to draw a line between two points by specifying x and...
Get OpenCV Version

Get OpenCV Version

With each release of OpenCV, new features and various changes are introduced. Also, various bugs are fixed. If the OpenCV code snippet is not working due unavailable function, cause of...