Object Detection
Loading...
Searching...
No Matches
Namespaces | Functions
create_annotations.py File Reference

Namespaces

namespace  create_annotations
 

Functions

 create_annotations.generate_synthetic_object_annotations (model_path, img_dir, output_dir, split, imgsz=320)
 
 create_annotations.smooth_mask (binary_mask)
 
 create_annotations.thin_mask (binary_mask)
 
 create_annotations.process_multi_class_mask (mask_path, class_id_map={1:12, 2:3}, orig_width=320, orig_height=320, padded_size=320)
 
 create_annotations.process_image (mask_path=None)
 
 create_annotations.write_yolo_annotations (output_path, image_name, objects_info)
 
 create_annotations.process_directory (mask_dir, output_dir=None)
 
 create_annotations.merge_annotations (output_dir, lane_label_dir, da_dir, object_label_dir=None, split='')
 
 create_annotations.main ()