benrefa.blogg.se

Baseelements plugin export container field
Baseelements plugin export container field







Make_patches ( bool) – bool, whether to make patches (crop image in smaller pieces) or not Input_label_dir ( Optional) – directory containing the label imagesĭata_augmentation ( bool) – boolean, if True will scale, roatate, … the images Params ( dict) – params from utils.Params object It can be a directory containing the images, it can beĪ list of image filenames, or it can be a path to a csv file. input_fn ( input_data, params, input_label_dir=None, data_augmentation=False, batch_size=5, make_patches=False, num_epochs=1, num_threads=4, image_summaries=False ) ¶ Returns a dictionary item in VIA format to further export to. Via.create_via_annotation_single_image(…) Via.create_via_region_from_coordinates(…)įormats coordinates to a VIA region (dict). Via.create_masks(masks_dir, working_items, …)įor each annotation, create a corresponding binary mask and resize it (h = 2000). Given VIA annotation input, collect all info on WorkingItem object. Via.collect_working_items(via_annotations, …) Gets the attributes of the annotated data and returns a list of VIAttribute.

baseelements plugin export container field

Parses the VIA attribute dictionary and returns a list of VIAttribute instances Via.get_annotations_per_file(via_dict, name_file)įrom VIA json content, get annotations relative to the given name_file. Via.export_annotation_dict(annotation_dict, …) Load the content of via annotation files.

baseelements plugin export container field

Via.load_annotation_data(via_data_filename) Serialize a dictionary in order to export it. Parses the files to create the corresponding Page object. Set of regions that make a bigger region (group). Text entity produced by a transcription system.









Baseelements plugin export container field