Optimizing Obstacle Detection in Coal Mines: The ODEL-YOLOv5s Model

In a recent paper published in the journal Scientific Reports, researchers introduced a variant of the You Only Look Once version 5s (YOLOv5s) model, ODEL-YOLOv5s, to tackle the challenges of obstacle identification in a coal mine environment.

Study: Optimizing Obstacle Detection in Coal Mines: The ODEL-YOLOv5s Model. Image credit: Parilov/Shutterstock
Study: Optimizing Obstacle Detection in Coal Mines: The ODEL-YOLOv5s Model. Image credit: Parilov/Shutterstock

Background

The coal mine rail electric locomotive plays a pivotal role in transporting materials, underground operators, and gangue. It directly influences the efficiency of coal mining operations. The advent of driverless technology in coal mine rail electric locomotives has garnered significant attention. This technology exhibits the capacity to avert collisions, derailments, and accidents resulting from the challenging conditions of coal mine roadways and the unpredictability associated with manual operation.

In contrast to classical light detection and ranging (LiDAR)-based methods, deep learning target detection algorithms utilizing image processing techniques have gained traction due to their superior detection accuracy and speed. Implementing these algorithms in obstacle detection for driverless electric locomotives holds the promise of enhancing obstacle detection accuracy and real-time responsiveness, ultimately contributing to the safe operation of such locomotives.

The YOLOv5 model

The YOLOv5 model comprises three parts: the backbone, neck, and head. In the backbone, the Focus module slices and concatenates the input image, followed by convolution operations for feature extraction. In the neck, spatial pyramid pooling (SPP) and path aggregation networks (PANet) enhance feature maps, thereby improving information flow. The model incorporates cross-stage partial (CSP) modules. In the head, the YOLOv3 detection head enables multi-scale prediction.

The YOLOv5 loss function includes three components: classification loss, confidence loss, and localization loss. Localization loss typically uses IoU (intersection over union) to measure the overlap between predicted and ground truth-bounding boxes. GIoU (Generalized IoU) accounts for cases where there is no overlap, preventing convergence issues during training by considering the minimum enclosing rectangle of predicted and ground truth boxes. This ensures accurate obstacle area predictions. The GloU loss (LGIoU) acts as the bounding box regression loss in YOLOv5. It relates to the minimum enclosing rectangle and the union area of predicted and ground truth boxes.

Enhanced YOLOv5s for coal mine obstacle detection

In comparison to other YOLOv5 models, YOLOv5s is compact, computationally efficient, and delivers quicker detection. This makes it an ideal choice for embedded devices with limited resources in harsh coal mine conditions. Data augmentation techniques enhance model robustness. Saturation, exposure, and hue adjustments are applied for photometric distortion. Geometric distortion techniques are used, alongside cropping, shearing, rotating, and flipping, to diversify dataset characteristics.

The Convolutional Block Attention Module (CBAM) was introduced. It enhances focus on obstacle regions during training, refining the model's adaptive features. CBAM is incorporated into YOLOv5s to bolster detection accuracy. A dedicated small target prediction layer is introduced to address the challenge of detecting small obstacles effectively. This layer combines feature maps from both the backbone and neck, resulting in improved detection accuracy for small objects.

Cluster-NMS replaces weighted non-maximum suppression (NMS) for better redundancy removal. It offers faster reasoning and efficient suppression, particularly in dense or partially blocked obstacle scenarios, without significantly increasing iteration rounds. The revised ODEL-YOLOv5s model exhibits increased complexity with the addition of the CBAM attention mechanism, a new prediction scale, and more layers. These improvements are designed to enhance detection accuracy, speed, and robustness in the challenging coal mine roadway environment.

Experiments and analysis

Researchers created a custom obstacle detection image dataset, comprising miners, electric locomotives, and rocks. To ensure dataset diversity, images were taken considering varied positions, distances, angles, lighting conditions, and occlusion levels. Post-processing yielded 2000 dataset images. Each obstacle in the image was enclosed in a minimum-bounding rectangle and labeled "Miner," "E-L" (Electric Locomotive), or "Rock." Researchers evaluated the model using metrics such as recall, precision, AP, mAP, detection speed, model size, and computational load. ODEL-YOLOv5s outperformed conventional YOLOv5s with more stable training, lower loss, and higher precision, recall, and mAP.

Results and Analysis: To compare detection performance, ODEL-YOLOv5s, and other target detection algorithms were trained and tested using the same custom dataset. YOLOv3 and YOLOv4, with a high number of computations (GFLOPs), yielded slower inference times, achieving an average detection of 26.1 frames per second (FPS) and 20.5 FPS, rendering them unsuitable for real-time detection in harsh coal mine environments.

YOLOV3-Tiny and YOLOV4-Tiny achieved faster detection speeds (162.8 FPS and 156.2 FPS), but their simpler network structures hindered their ability to detect small obstacle rocks.

Variants of YOLOv5 have demonstrated mAPs exceeding 96 percent, but their larger model sizes and computational demands pose hardware requirements challenges. In contrast, the ODEL-YOLOv5s model reached a mAP of 98.9 percent, with the AP for small obstacle rocks at 97.9 percent. Although the model ODEL-YOLOv5s increased the model's weight and computational load compared to the conventional YOLOv5s model, it still maintained lower resource demands than other algorithms while achieving an average detection speed of 60.2 FPS, meeting the requirements for real-time detection.

Real Mine Roadway Scenarios: To validate the proposed model in real coal mine conditions, a comparison with the conventional YOLOv5s model was conducted. A further test using 1000 images from the Guqiao coal mine in Huainan City, Anhui Province, demonstrated the ODEL-YOLOv5s model's superiority. The model ODEL-YOLOv5s outperforms the conventional YOLOv5s model.

Conclusion

In summary, researchers introduced the ODEL-YOLOv5s model to address the challenges faced by driverless electric locomotives on coal mine roadways. Key findings include enhancing detection accuracy through dataset augmentation, improving focus via the CBAM attention mechanism, and enhancing small obstacle detection with a new layer. The proposed model achieves favorable outcomes and enhances the safety of driverless electric locomotives in coal mines.

Journal reference:
Dr. Sampath Lonka

Written by

Dr. Sampath Lonka

Dr. Sampath Lonka is a scientific writer based in Bangalore, India, with a strong academic background in Mathematics and extensive experience in content writing. He has a Ph.D. in Mathematics from the University of Hyderabad and is deeply passionate about teaching, writing, and research. Sampath enjoys teaching Mathematics, Statistics, and AI to both undergraduate and postgraduate students. What sets him apart is his unique approach to teaching Mathematics through programming, making the subject more engaging and practical for students.

Citations

Please use one of the following formats to cite this article in your essay, paper or report:

  • APA

    Lonka, Sampath. (2023, October 17). Optimizing Obstacle Detection in Coal Mines: The ODEL-YOLOv5s Model. AZoAi. Retrieved on October 05, 2024 from https://www.azoai.com/news/20231017/Optimizing-Obstacle-Detection-in-Coal-Mines-The-ODEL-YOLOv5s-Model.aspx.

  • MLA

    Lonka, Sampath. "Optimizing Obstacle Detection in Coal Mines: The ODEL-YOLOv5s Model". AZoAi. 05 October 2024. <https://www.azoai.com/news/20231017/Optimizing-Obstacle-Detection-in-Coal-Mines-The-ODEL-YOLOv5s-Model.aspx>.

  • Chicago

    Lonka, Sampath. "Optimizing Obstacle Detection in Coal Mines: The ODEL-YOLOv5s Model". AZoAi. https://www.azoai.com/news/20231017/Optimizing-Obstacle-Detection-in-Coal-Mines-The-ODEL-YOLOv5s-Model.aspx. (accessed October 05, 2024).

  • Harvard

    Lonka, Sampath. 2023. Optimizing Obstacle Detection in Coal Mines: The ODEL-YOLOv5s Model. AZoAi, viewed 05 October 2024, https://www.azoai.com/news/20231017/Optimizing-Obstacle-Detection-in-Coal-Mines-The-ODEL-YOLOv5s-Model.aspx.

Comments

The opinions expressed here are the views of the writer and do not necessarily reflect the views and opinions of AZoAi.
Post a new comment
Post

While we only use edited and approved content for Azthena answers, it may on occasions provide incorrect responses. Please confirm any data provided with the related suppliers or authors. We do not provide medical advice, if you search for medical information you must always consult a medical professional before acting on any information provided.

Your questions, but not your email details will be shared with OpenAI and retained for 30 days in accordance with their privacy principles.

Please do not ask questions that use sensitive or confidential information.

Read the full Terms & Conditions.

You might also like...
Deep Learning Secures IoT with Federated Learning