The invention relates to the field of
electronic design automation, provides a method for semi-automatically
processing an EDA (
Electronic Design Automation) project file and generating a YOLO format
annotation data set, and aims to solve the technical problems of low efficiency and poor precision of the traditional pure manual
data annotation data set. According to the main scheme, the method comprises the steps of reading an
engineering file of a jia-creative EDA project, analyzing and extracting element information, generating a standardized CSV
data format, converting the standardized CSV
data format into a
label in a YOLO format, calculating normalized bounding box coordinates of elements, and recognizing special original elements and supplementing labeling information in combination with a
template matching technology; drawing a bounding box on the
schematic diagram image according to a YOLO
label, highlighting different element types by using different colors, and generating a visual
annotation image; revising and combining the newly generated YOLO
label and a preliminary YOLO label generated by the AI model to obtain a label set; then importing into Labelimg for manual correction, and generating a final label set; and training a target detection model by using the final label set, and improving the pre-labeling precision through
data set expansion iteration.