The invention provides a red deer identification and detection method,
system and device and a medium, and belongs to the technical field of
computer vision. The method comprises the following steps: acquiring an ortho-image of a red deer activity area through an unmanned aerial vehicle, and
processing the ortho-image by using an illumination adaptive enhancement network to obtain an enhanced image; annotating the enhanced image, and constructing a
data set; an improved YOLOv8
deep learning model is constructed and trained, an attention mechanism module fused by GAM and CBAM is inserted in a multi-scale
feature fusion path between a
feature fusion network and a detection head and in the detection head, and four detection heads with different scales are included. Wherein the tiny, small-scale and medium-scale detection heads are integrated with sub-branches for predicting
biological attributes; in the training process, the bounding box, the category and the attribute tag are utilized to calculate the composite loss for optimization; and finally evaluating the model performance by using the
test set. The method can effectively improve the detection precision and robustness of red deer target recognition in a complex natural scene.