<abstract>
<p>Among various aviation accidents, bird collision is one of the most common accidents for civil passenger aircraft in recent years. With the significant breakthrough of deep convolutional neural networks in the field of target detection, this paper proposes a target detection method to prevent bird collision accidents. The algorithm in this paper integrates different attention mechanisms on the YOLOv5s network to solve the problems of small target detection miss, false detection and insufficient feature extraction capability. The trend-aware loss (TAL) and trend factor (W<sub>i</sub>) are used to solve the drift of the prediction frame. After comprehensive ablation experiments, the improved algorithm shows significant improvement on the detection accuracy and speed. Results indicate that mean average precision (mAP) value reaches 99.8%, which is 6.3 percentage points higher than the original algorithm.</p>
</abstract>