matplotlib: Wie zeichnet man ein Rechteck auf das Bild

So zeichnen Sie ein Rechteck auf ein Bild:

import matplotlib.pyplot as plt
from PIL import Image
import numpy as np
im = np.array(Image.open('dog.png'), dtype=np.uint8)
plt.imshow(im)

Ich weiß nicht, was ich als nächstes tun soll.

Antworten auf die Frage(8)

Ihre Antwort auf die Frage