OpenCV Project

Conver Color or Gray Image into Blue Green Red image using OpenCV Python

In Python OpenCV Tutorial, Explained How to Conver Color or Gray Image into Blue Green Red image using OpenCV Python. Get the answers of below questions: How do I change the color of an image in OpenCV? How to extract red, green, blue color from an image in python Green channel extraction in image processing python …

Conver Color or Gray Image into Blue Green Red image using OpenCV Python Read More »

Split & Merge Image Using OpenCV Python

In Python OpenCV Tutorial, Explained How to split and merge image using numpy indexing and python OpenCV cv2.split()  & cv2.merge() function? Syntax: cv2.split(m[, mv]) -> mv Parameters: . @overload . @param m input multi-channel array. . @param mv output vector of arrays; the arrays themselves are reallocated, if needed. Syntax: cv2.merge(mv[, dst]) -> dst Parameters: . @param …

Split & Merge Image Using OpenCV Python Read More »

Draw Polygons On An Image using OpenCV Python

In Python OpenCV Tutorial, Explained How to put text and Polylines over the image using python OpenCV cv2.polylines() function? Syntax: cv2.polylines(img, pts, isClosed, color[, thickness[, lineType[, shift]]])Return: Image with Polygon Parameters: . @param img Image. . @param pts Array of polygonal curves. . @param isClosed Flag indicating whether the drawn polylines are closed or not. If they are …

Draw Polygons On An Image using OpenCV Python Read More »

Draw Ellipse on NumPy array and Image Using OpenCV Python

In Python OpenCV Tutorial, Explained How to put text and Ellipse over the image using python OpenCV cv2.ellipse() function? Syntax: cv2. ellipse(img, center, axes, angle, startAngle, endAngle, color[, thickness[, lineType[, shift]]])Return : Image with ellipse Parameters: . @param img Image. . @param center Center of the ellipse. . @param axes Half of the size of the ellipse main axes. …

Draw Ellipse on NumPy array and Image Using OpenCV Python Read More »

Draw Line, Print Text On An Image using OpenCV Python

In Python OpenCV Tutorial, Explained How to put text and Line over the image using python OpenCV cv2.line() function? Syntax: cv2.line(img, pt1, pt2, color[, thickness[, lineType[, shift]]]) Parameters: . @param img Image. . @param pt1 First point of the line segment. . @param pt2 Second point of the line segment. . @param color Line color. . @param thickness …

Draw Line, Print Text On An Image using OpenCV Python Read More »

Draw Circle, Print Text On An Image | OpenCV Tutorial

In Python OpenCV Tutorial, Explained How to put text and Circle over the image using python OpenCV? Syntax: cv2.circle(img, center, radius, color[, thickness[, lineType[, shift]]]) . The function cv::circle draws a simple or filled circle with a given center and radius. . @param img Image where the circle is drawn. . @param center Center of …

Draw Circle, Print Text On An Image | OpenCV Tutorial Read More »

Print Text On Image Using Python OpenCV | OpenCV Tutorial

In this tutorial, we are going to share code that prints any text on an image with a different style using the Python OpenCV library using the cv2.putText() function. Syntax: cv2.putText(image, text, org, font, fontScale, color[, thickness[, lineType[, bottomLeftOrigin]]]) How to write Text on Image? Print text Inverse Print text with reflection Text with different …

Print Text On Image Using Python OpenCV | OpenCV Tutorial Read More »