Accurate segmentation of the left ventricle (LV) is an important step in assessing cardiac function. Cardiac CT angiography (CCTA) has become an important means of clinical diagnosis of cardiovascular diseases (CVDs) because of its advantages of non-invasive, short examination time and low cost. In order to obtain the segmentation of LV in CCTA scans, we propose a deep learning method based on 8-layer residual U-Net with deep supervision. In this study we compared the left ventricular ejection fraction (LVEF) calculated by deep learning (DL) method (AccuLV) from CCTA to LVEF by conventional two-dimensional echocardiography (EC). This was a retrospective cross-sectional study, and consecutive patients who had undergone CCTA and EC in our hospital from February 2021 to May 2021 were recruited. The current study included 180 patients who had undergone CCTA and EC. To obtain LVEF, we used an 8-layer residual U-Net with deep supervision to segment LV contours from CCTA images and compute LVEF (DL-LVEF). The EC and DL-LVEF measurements were compared. A 50% EC-LVEF cut-off value was used as a reference standard to assess the diagnostic performance of AccuLV in assessing LV function. The overall mean EC-LVEF and DL-LVEF values were 64.0% (52.3%, 69.0%) and 73.0% (52.3%, 77.0%), respectively. Three patient groups were studied: (I) hypertensive patients, (II) postmenopausal women, and (III) diabetes. EC-LVEF and DL-LVEF were found to be positively correlated for all of the included patients (r=0.82, P<0.001), with the detailed results for the three groups as follows: hypertensive patients (r=0.77, P<0.001), postmenopausal women (r=0.92, P<0.001) and diabetes (r=0.88, P<0.001). The diagnostic accuracy, sensitivity, and specificity of the DL method in predicting EC-LVEF <50% for all patients were 93.9%, 92.3%, and 94.3%, and for hypertensive patients were 95.4%, 93.8%, and 95.8%, for postmenopausal women were 87.0%, 100%, and 84.2%, for diabetes were 97.4%, 100%, and 96.6%. In comparison to echocardiography, which is commonly used in clinical setting, AccuLV may be a promising, fully automated tool for rapid and accurate quantification of LV function and thus for making reliable clinical decisions.