Images
Assign images
To assign images to a project contributor:
sa.assign_images(
project = "Project Name",
image_names = ["image1.png", "image2.png"],
user = "[email protected]")
The assignment role,
QA
orAnnotator
, will be automatically generated based on the contributor’s role in the project.
Set annotation status of images
To set the annotation status of a list of images:
sa.set_images_annotation_statuses(
project = "Project Name",
image_names = ["image1.png", "image2.png"],
annotation_status = "Returned")
Copy images
To copy images between folders in a project:
sa.copy_items(
source_project = "Project Name/Source Folder",
image_names = ["image1.png", "image2.png"],
destination_project = "Project Name/Destination Folder")
The image annotations and corresponding metadata are copied to the destination project by default. To disable this:
sa.copy_items(
source_project = "Project Name/Source Folder",
image_names = ["image1.png", "image2.png"],
destination_project = "Project Name/Destination Folder",
include_annotations = False,
copy_pin = False)
Move images
To move images from one folder to another:
sa.move_items(
source_project = "Project Name/Source Folder",
image_names = ["image1.png", "image2.png"],
destination_project = "Project Name/Destination Folder")
Delete images
To delete a list of images from a project:
sa.delete_images(
project = "Project Name",
image_names = ["image1.png", "image2.png"])
Updated about 1 month ago
Did this page help you?