ann_dir ¶Ĭonvert2csv ( save_path, category_list= ) ¶įind all bndbox info and save to csv file. Annotations ( ann_dir ) ¶ĭeal with annotations in PascalVOC format dataset. Image_dir – a directory incluing jpg images.Ĭlass pascal_voc_tools. Save info to annotation Element Parameters:Ĭlass pascal_voc_tools. Save_xml_path – the xml path to save data. Resize_obj_by_rate ( rate: float, biases: tuple ) ¶ new_name – str, a new object class name.save_path – the txt file path to save data.Ĭrop_annotations ( split_bboxes, iou_thresh=0.7 ) ¶.Parameters:Ĭonvert2yolotxt ( save_path: str, classes: list ) ¶ PascalXml ( folder: str = '', filename: str = '', path: str = '', source: pascal_voc_tools.xml_tools.DataSource =, size: pascal_voc_tools.xml_tools.ImageSize =, segmented: int = 0, object_list: list = None ) ¶Ī list of XmlObject add_object ( name, xmin, ymin, xmax, ymax, pose='Unspecified', truncated=0, difficult=0 ) ¶ ![]() load_from_node ( node ) ¶Ĭlass pascal_voc_tools. Size data format in Pascal VOC xml width ¶Ī int of image depth. ImageSize ( width: int = 0, height: int = 0, depth: int = 0 ) ¶ Parameters:Įncode database info from node. load_from_node ( node ) ¶ĭecode database info from node. Source data format in Pascal VOC xml database ¶Ī str of dataset name. DataSource ( database: str = 'Unknown' ) ¶ Resize_letter_box ( width: int, height: int ) ¶ Pascal voc format dataset and some usrfulįunctions. This package provide some tools using for ![]() Layer ( name ) ¶ĭarknet Layer Struct pascal_voc_tools.darknet_config. :param save_path: str, the path using to save. :param config_path: str, the path of config file Returns: :param label_list_file: str, the file of label list parse ( config_path ) ¶ :param cfg_file: str, the config file path
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |