 The proposed CFRCNN algorithm uses the CBAM attention mechanism combined with the FPN feature pyramid structure to improve the detection accuracy of small-sized, occluded, or truncated objects in complex scenes. This algorithm outperforms existing algorithms such as faster RCNN and other algorithms in terms of mean average precision, MAP. This article was authored by one Shunshen, Shilfinyu, Jianlin, and others.