Extraction

extract_contours(img_set_path, filter_info)

Returns contour coordinates of objects in the images from the image set.

write_contours(img_set_path, filter_info)

Finds contour coordinates of objects in the images from the image set.

read_contours(contours_pickle_path)

Retrieves contour coordinates from existing contour pickle file.

get_info_from_folder(img_set_path, filter_info)

Returns contour and properties of objects from the image set folder.

get_properties_from_image(img, filename, …)

Returns properties of the objects in the images.

get_contours_from_image(img, object_labels)

Returns a list of contours associated with each object in an image.

get_contour_from_object(object_img)

Returns x and y coordinates of the object contour.

Implementation Details

_is_filtered_img(filename, filter_info)

Checks if the file is a tagged image.