Research on Image Recognition Method of Class Graph Based on Deep Learning

Kai Wang,Wei Liu, Sheng Gao, Yongan Mu, Fan Xu

2023 International Conference on Artificial Intelligence Innovation (ICAII)(2023)

引用 0|浏览0
暂无评分
摘要
Software design reuse has received significant attention, with UML class diagrams being widely used in software design, making UML class diagram reuse a focus of software design reuse research. Therefore, automatically identifying and extracting semantic elements in UML class diagrams has become a fundamental task. However, UML class diagrams exhibit diversity, with different classes presenting multiple representations based on their attributes and methods, and different relationship lines between classes being expressed in various forms. Additionally, image resolution can also impact recognition results. To address these challenges, a Class Diagram Extraction (CDE) method based on object detection and text extraction is proposed. The method utilizes grayscale processing and morphological erosion-dilation operations to preprocess distorted images and reduce image noise. The You Only Look Once-Version 5 (YOLOv5) algorithm is applied to detect every class and relationship type in the class diagram image, accurately locate, segment and extract class regions, and the EasyOCR algorithm is used to perform precise optical character recognition on each extracted block region of the class diagram image. The Probabilistic Hough Transform is used to detect and identify the relationship lines between class modules and integrate line segments into polylines, combining relationship lines with relationship types and classes to obtain the complete semantic information of the class diagram. Comparison with the Img2UML method demonstrates the feasibility and effectiveness of the proposed method in terms of recall and precision in class and relationship type recognition.
更多
查看译文
关键词
object detection,Optical character recognition,YOLOv5,deep LEARNING,EasyOCR
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要