This study aims to develop an automated approach for estimating the vertical rotation of the thorax, which can be used to assess the technical adequacy of chest X-ray radiographs (CXRs). Total 800 chest radiographs were used to train and establish segmentation networks for outlining the lungs and spine regions in chest X-ray images. By measuring the widths of the left and right lungs between the central line of segmented spine and the lateral sides of the segmented lungs, the quantification of thoracic vertical rotation was achieved. Additionally, a life-size, full body anthropomorphic phantom was employed to collect chest radiographic images under various specified rotation angles for assessing the accuracy of the proposed approach. The deep learning networks effectively segmented the anatomical structures of the lungs and spine. The proposed approach demonstrated a mean estimation error of less than 2° for thoracic rotation, surpassing existing techniques and indicating its superiority. The proposed approach offers a robust assessment of thoracic rotation and presents new possibilities for automated image quality control in chest X-ray examinations. This study presents a novel deep-learning-based approach for the automated estimation of vertical thoracic rotation in chest X-ray radiographs. The proposed method enables a quantitative assessment of the technical adequacy of CXR examinations and opens up new possibilities for automated screening and quality control of radiographs.