Electrocardiogram (ECG) is a noninvasive, inexpensive, and convenient test for diagnosing cardiovascular diseases and assessing the risk of cardiovascular events. Although there are clear standardized operations and procedures for ECG examination, the interpretation of ECG by even trained physicians can be biased due to differences in diagnostic experience. In recent years, artificial intelligence has become a powerful tool to automatically analyze medical data by building deep neural network models, and has been widely used in the field of medical image diagnosis such as CT, MRI, ultrasound and ECG. This article mainly introduces the application progress of deep neural network models in ECG diagnosis and prediction of cardiovascular diseases, and discusses its limitations and application prospects.