Abstract: Highlights•Mass detection and segmentation in digital mammograms play a crucial role in early breast cancer detection and treatment.•A double shot model for mass detection and segmentation simultaneously is proposed to use a combination of YOLO and LOGO architectures.•The proposed model has a higher efficiency, reduces computational requirements, and improves the versatility and accuracy of computer-aided breast cancer diagnosis.