The best-fitting circle drawn by computed tomography (CT) reconstruction of the en face view of the glenoid bone to measure the bone defect is widely used in clinical application. However, there are still some limitations in practical application, which can prevent the achievement of accurate measurements. This study aimed to accurately and automatically segment the glenoid from CT scans based on a 2-stage deep learning model and to quantitatively measure the glenoid bone defect. Patients who were referred to our institution between June 2018 and February 2022 were retrospectively reviewed. The dislocation group consisted of 237 patients with a history of ≥2 unilateral shoulder dislocations within 2 years. The control group consisted of 248 individuals with no history of shoulder dislocation, shoulder developmental deformity, or other disease that may lead to abnormal morphology of the glenoid. All patients underwent CT examination with a 1-mm slice thickness and a 1-mm increment, including complete imaging of the bilateral glenoid. A residual neural network (ResNet) location model and a U-Net bone segmentation model were constructed to develop an automated segmentation model for the glenoid from CT scans. The data set was randomly divided into training (201 of 248) and test (47 of 248) data sets of control-group data and training (190 of 237) and test (47 of 237) data sets of dislocation-group data. The accuracy of the stage 1 (glenoid location) model, the mean intersection-over-union value of the stage 2 (glenoid segmentation) model, and the glenoid volume error were used to assess the performance of the model. The R2 value and Lin concordance correlation coefficient were used to assess the correlation between the prediction and the gold standard. A total of 73,805 images were obtained after the labeling process, and each image was composed of CT images of the glenoid and its corresponding mask. The average overall accuracy of stage 1 was 99.28%; the average mean intersection-over-union value of stage 2 was 0.96. The average glenoid volume error between the predicted and true values was 9.33%. The R2 values of the predicted and true values of glenoid volume and glenoid bone loss (GBL) were 0.87 and 0.91, respectively. The Lin concordance correlation coefficient value of the predicted and true values of glenoid volume and GBL were 0.93 and 0.95, respectively. The 2-stage model in this study showed a good performance in glenoid bone segmentation from CT scans and could quantitatively measure GBL, providing a data reference for subsequent clinical treatment.