Medical image processing plays a pivotal role in modern healthcare, and the early detection of breast cancer in digital mammograms. Several methods have been explored in the literature to improve breast cancer detection, with deep-learning approaches emerging as particularly promising due to their ability to provide accurate results. However, a persistent research challenge in deep learning-based breast cancer detection lies in addressing the historically low accuracy rates observed in previous studies. This paper presents a novel deeplearning model utilizing a single-stage detector based on the YOLOv5 algorithm, designed specifically to tackle the issue of low accuracy in breast cancer detection. The proposed method involves the generation of a custom dataset and subsequent training, validation, and testing phases to evaluate the model's performance rigorously. Experimental results and comprehensive performance evaluations demonstrate that the proposed method achieves remarkable accuracy, marking a significant advancement in breast cancer detection through extensive experiments and rigorous performance analysis.