how to draw rectangle in python using openCV | Pycharm | Python | Love Programming

Опубликовано: 20 Май 2020
на канале: Love Programming
823
11

hello friends....
This video abouthow to draw rectangle in python using openCV ,OpenCV-Python is a library of Python bindings designed to solve computer vision problems. cv2.rectangle() method is used to draw a rectangle on any image.

Syntax: cv2.rectangle(image, start_point, end_point, color, thickness)

Parameters:
image: It is the image on which rectangle is to be drawn.
start_point: It is the starting coordinates of rectangle. The coordinates are represented as tuples of two values i.e. (X coordinate value, Y coordinate value).
end_point: It is the ending coordinates of rectangle. The coordinates are represented as tuples of two values i.e. (X coordinate value, Y coordinate value).
color: It is the color of border line of rectangle to be drawn. For BGR, we pass a tuple. eg: (255, 0, 0) for blue color.
thickness: It is the thickness of the rectangle border line in px. Thickness of -1 px will fill the rectangle shape by the specified color.



Our Recent Video:
1)how to install opencv in python on windows
video link-
   • how to install opencv in python on windows...  

2)how to read and display image in python using openCV | pycharm | Python | Love Programming
video link-
   • how to read and display image in python us...  

3)Draw line in Python using openCV
video link-
   • Draw line in Python using openCV | Pycharm...  


don't forget to...
like , comment , share
and
subscribe
to my channel


На этой странице сайта вы можете посмотреть видео онлайн how to draw rectangle in python using openCV | Pycharm | Python | Love Programming длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Love Programming 20 Май 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 823 раз и оно понравилось 11 зрителям. Приятного просмотра!