Answers for "python draw rectangle on image"

0

python draw rectangle on image

img = matplotlib. image. imread("./kite_logo.png")
figure, ax = pyplot. subplots(1)
rect = patches. Rectangle((125,100),50,25, edgecolor='r', facecolor="none")
ax. imshow(img) Displays an image.
ax. add_patch(rect) Add rectangle to image.
Posted by: Guest on September-25-2020

Code answers related to "python draw rectangle on image"

Python Answers by Framework

Browse Popular Code Answers by Language