To investigate automation of the preparation of the region of interest (ROI) for surface‐guided radiotherapy (SGRT) of the whole breast with two algorithms based on contour anatomies: using the body contour, and using the breast contour. The patient dataset used for modeling consisted of 39 breast cancer patients previously treated with SGRT. The patient's anatomical structures (body and ipsilateral breast) were retrieved from the planning system, and the clinical ROI (cROI) drawn by the planners was retrieved from the SGRT system for comparison. For the body‐contour‐based algorithm, a convolutional neural network (MobileNet‐v2) was utilized to train a synthetic human model dataset to predict body joint locations. With the body joint location knowledge, an automated ROI (aROIbody) can be created based on: (1) the superior‐inferior (S‐I) borders defined by the joint locations, (2) the left‐right (L‐R) borders defined with 3/4 of chest width, and (3) a curation of the ROI to avoid the ipsilateral armpit. For the breast‐contour‐based algorithm, an aROIbreast was created by first defining the ROI in the S‐I direction with the ipsilateral breast boundaries. Other steps are the same as with the body‐contour‐based algorithm. Among the 39 patients, 24 patients were used to fine‐tune the algorithm parameters, and the remaining 15 patients were used to evaluate the quality of the aROIs against the cROIs. A blinded evaluation was performed by three SGRT expert physicists to rate the acceptability and the quality (1–10 scale) of the aROIs and cROIs, and the dice similarity coefficient (DSC) was also calculated to compare the similarity between the aROIs and cROIs. The results showed that the average acceptability was 14/15 (range: 13/15–15/15) for cROIs, 13.3/15 (range: 13/15–14/15) for aROIbody, and 14.6/15 (range: 14/15–15/15) for aROIbreast. The average quality was 7.4 ± 0.8 for cROIs, 8.1 ± 1.2 for aROIbody, and 8.2 ± 0.9 for aROIbreast. The DSC with cROIs was 0.81 ± 0.06 for aROIbody, and 0.83 ± 0.04 for aROIbreast. The ROI creation time was ∼120 s for clinical, 1.3 s for aROIbody, and 1.2 s for aROIbreast. The proposed automated algorithms can improve the ROI compliance with the SGRT protocol, with a shortened preparation time. It is ready to be integrated into the clinical workflow for automated ROI preparation.