The objective of this study was to adopt the high-resolution computed tomography (HRCT) technology based on the faster-region recurrent convolutional neural network (Faster-RCNN) algorithm to evaluate the lung infection in patients with type 2 diabetes, so as to analyze the application value of imaging features in the assessment of pulmonary disease in type 2 diabetes. In this study, 176 patients with type 2 diabetes were selected as the research objects, and they were divided into different groups based on gender, course of disease, age, glycosylated hemoglobin level (HbA1c), 2 h C peptide (2 h C-P) after meal, fasting C peptide (FC-P), and complications. The research objects were performed with HRCT scan, and the Faster-RCNN algorithm model was built to obtain the imaging features. The relationships between HRCT imaging features and 2 h C-P, FC-P, HbA1c, gender, course of disease, age, and complications were analyzed comprehensively. The results showed that there were no significant differences in HRCT scores between male and female patients, patients of various ages, and patients with different HbA1c contents (
P
>
0.05
). As the course of disease and complications increased, HRCT scores of patients increased obviously (
P
<
0.05
). The HRCT score decreased dramatically with the increase in the contents of 2 h C-P and FC-P after the meal (
P
<
0.05
). In addition, the results of the Spearman rank correlation analysis showed that the course of disease and complications were positively correlated with the HRCT scores, while the 2 h C-P and FC-P levels after meal were negatively correlated with the HRCT scores. The receiver operating curve (ROC) showed that the accuracy, specificity, and sensitivity of HRCT imaging based on Faster-RCNN algorithm were 90.12%, 90.43%, and 83.64%, respectively, in diagnosing lung infection of patients with type 2 diabetes. In summary, the HRCT imaging features based on the Faster-RCNN algorithm can provide effective reference information for the diagnosis and condition assessment of lung infection in patients with type 2 diabetes.