vampire.extraction.extract_properties#

vampire.extraction.extract_properties(img_set_path, filter_info=None, write=True, write_contour=False)[source]#

Extracts object properties from image set path.

Parameters:
img_set_pathstr

Path to the directory of images to be analyzed.

filter_infondarray, optional

Regex filter(s) of image filenames to be analyzed. Empty if no filter needed.

writebool, optional

Write properties into csv and pickle file.

write_contourbool, optional

Whether write and save raw contour coordinates.

Returns:
properties_dfDataframe

Dataframe of object properties.