ender the images:

from zenml.client import Clientfrom IPython.display import display, Image

annotator = Client().active_stack.annotator

annotations = annotator.launch(

data=[

'/path/to/image1.png',

'/path/to/image2.png'

],

options=[

'cat',

'dog'

],

display_fn=lambda filename: display(Image(filename))

The launch method returns the annotations as a list of tuples, where each tuple contains the data item and its corresponding label.

You can also use the zenml annotator dataset commands to manage your datasets:

zenml annotator dataset list - List all available datasets

zenml annotator dataset delete <dataset_name> - Delete a specific dataset

zenml annotator dataset stats <dataset_name> - Get statistics for a specific dataset

Annotation files are saved as JSON files in the specified output directory. Each annotation file represents a dataset, with the filename serving as the dataset name.

Acknowledgements

Pigeon was created by Anastasis Germanidis and released as a Python package and Github repository. It is licensed under the Apache License. It has been updated to work with more recent ipywidgets versions and some small UI improvements were added. We are grateful to Anastasis for creating this tool and making it available to the community.

PreviousLabel Studio

NextProdigy

Last updated 19 days ago