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

被引:0
|
作者
Wang, Kai [1 ]
Liu, Wei [1 ]
Gao, Sheng [1 ]
Mu, Yongan [1 ]
Xu, Fan [1 ]
机构
[1] Wuhan Inst Technol, Dept Comp Sci & Engn, Wuhan, Peoples R China
基金
中国国家自然科学基金;
关键词
object detection; Optical character recognition; YOLOv5; deep LEARNING; EasyOCR;
D O I
10.1109/ICAII59460.2023.10497308
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
收藏
页码:65 / 71
页数:7
相关论文
共 50 条
  • [21] The research of underwater target recognition method based on deep learning
    Chen, Yuechao
    Xu, Xiaonan
    2017 IEEE INTERNATIONAL CONFERENCE ON SIGNAL PROCESSING, COMMUNICATIONS AND COMPUTING (ICSPCC), 2017,
  • [22] Research on recognition method of transportation modes based on deep learning
    Guo M.
    Wang P.
    Zhao L.
    Harbin Gongye Daxue Xuebao/Journal of Harbin Institute of Technology, 2019, 51 (11): : 1 - 7
  • [23] Research on music genre recognition method based on deep learning
    Guo, Yuchen
    MCB Molecular and Cellular Biomechanics, 2024, 21 (01):
  • [24] Research on Radar Target Recognition Method Based on Deep Learning
    Shi, Duanyang
    Lin, Qiang
    Hu, Bing
    Wang, Guochao
    INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE, VIRTUAL REALITY, AND VISUALIZATION (AIVRV 2021), 2021, 12153
  • [25] Research on gesture image recognition method based on transfer learning
    Wang, Fei
    Hu, Ronglin
    Jin, Ying
    2020 INTERNATIONAL CONFERENCE ON IDENTIFICATION, INFORMATION AND KNOWLEDGE IN THE INTERNET OF THINGS (IIKI2020), 2021, 187 : 140 - 145
  • [26] Research of Image Recognition of Plant Diseases and Pests Based on Deep Learning
    Feng W.K.
    Hua H.X.
    Feng, Wang Ke, 1600, IGI Global (15):
  • [27] Research on Image Recognition of Gymnastics Sports Injuries Based on Deep Learning
    Jia, Peng
    Xu, Yixiong
    COMPUTATIONAL INTELLIGENCE AND NEUROSCIENCE, 2022, 2022
  • [28] Research on Image Recognition of Gymnastics Sports Injuries Based on Deep Learning
    Jia, Peng
    Xu, Yixiong
    COMPUTATIONAL INTELLIGENCE AND NEUROSCIENCE, 2022, 2022
  • [29] Research on Intelligent Target Recognition Method Based on Pattern Recognition and Deep Learning
    Chen, Guosheng
    Lian, Wenjun
    Hu, Fudong
    Bao, Zuchao
    Li, Ruxiang
    Ling, Hang
    Zhong, Jitao
    SECOND TARGET RECOGNITION AND ARTIFICIAL INTELLIGENCE SUMMIT FORUM, 2020, 11427
  • [30] Research on hyperspectral image classification method based on deep learning
    Zhang, Bin
    Liu, Liang
    Li, Xiao-Jie
    Zhou, Wei
    JOURNAL OF INFRARED AND MILLIMETER WAVES, 2023, 42 (06) : 825 - 833