Calmcode - pigeon: images


1 2 3 4

You can run annotations on images using the code below.

from IPython.display import display, Image
from pigeon import annotate

images = ['pigeon-images/1.png', 'pigeon-images/2.png', 'pigeon-images/3.png']

annotations = annotate(
  options=['cute', 'very cute', 'super very cute'],
  display_fn=lambda filename: display(Image(filename))

If you'd like to fetch some images yourself, you might enjoy placeholder kitten.