Skip to content

sxs770/Multi_Angle_engine_clamp_detection

 
 

Repository files navigation

Detection of Engine Hose Missing engagement Using Deep Learning-Based Object Recognition

1. Project Abstract

Abstract

In this study, we developed a technology that utilizes deep learning-based object recognition to detect real-time engine hose missing engagement caused by worker errors. We trained a model to detect the connection points and tools (wrenches) within the target engine, using CCTV footage capturing the work process. Based on the inferred task completion, the model predicts the status of each connection point. To address the issue of obstructed footage due to the worker's movements, we applied the Multi-Angle Processing technique, which combines video footage captured from different angles.

We used the YOLOv5 model, a one-stage detection model, for object recognition. Experimental results showed that when setting the threshold at 0.5 based on mean average precision (mAP), the results were above 0.995 for each class. By applying the Multi-Angle Processing technique, the overall missing engagement rate decreased from 0.58 to 0.14 compared to a single CCTV footage.

The proposed technology in this study can be extended and applied to various manufacturing sites where worker errors leading to work omissions can be detected using CCTV footage.

Contributors

Members

Changyeong Kim|Hyungun Cho|Junhyuk Choi

Adviser

Sudong Lee

Contribution

  • Changyeong Kim   PM• Model Training• ID-fixing• Switch Wrench Engagement• Multi-Angle detection• Presentation
  • Hyungun Cho   K-means based Extracting Hole Center• NGWD
  • Junhyuk Choi  Data Preprocessing• Model Training

2. Tool

  • Anaconda
  • Python3.8
  • Pytorch
  • Pandas
  • Opencv-python
  • Pandas
  • Numpy
  • matplotlib
  • scipy

3. Getting Start

Git clone

git clone https://github.com/ChangZero/Multi_Angle_engine_clamp_detection.git

Config

Fill in the multi_angle_detect-config.yaml

cam1:
    detect_path: ""
    weights: ""
    video_path: ""
    h_info_path: ""
    conf-thres: "0.65"
    epsilon: "100"
    iou: "0.5"
    wst: "3"

cam2:
    detect_path: ""
    weights: ""
    video_path: ""
    h_info_path: ""
    conf-thres: "0.65"
    epsilon: "100"
    iou: "0.5"
    wst: "3"

Build dockerfile

docker build --tag ma-yolo-image .

4. Equipment & Software

  • [OS] : Ubuntu 20.04
  • [GPU] : CUDA 11.4, NVIDIA RTX A6000
  • [Framework] : Pytorch
  • [IDE] : Visual Studio Code
  • [Collaboration Tool] : Notion, Discord

5. License

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Creative Commons License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.0%
  • Jupyter Notebook 5.8%
  • Other 1.2%