LAB: Tension Detection of Rolling Metal Sheet

I. Introduction

This is a simplified industrial problem for designing a machine vision system that can detect the level of tension in the rolling metal sheet.

The tension in the rolling process can be derived by measuring the curvature level of the metal sheet with the camera.

The surface of the chamber and the metal sheet are both specular reflective that can create virtual objects in the captured images. You need to design a series of machine vision algorithms to clearly detect the edge of the metal sheet and derive the curvature and tension level.

Problem Conditions

  • Use Python OpenCV (*.py)

  • Don't use Chat-GPT or any other online materials/search

  • Measure the metal sheet tension level from Level 1 to Level 3.

    • Use the minimum y-axis position of the metal sheet curvature

    • Level 1: >250px from the bottom of the image

    • Level 2: 120~250 px from the bottom of the image

    • Level 3: < 120 px from the bottom of the image

  • Display the output on the raw image

    • Tension level: Level 1~3

    • Score: y-position [px] of the curvature vertex from the bottom of the image

    • Curvature edge

  • Your algorithm will be evaluated on similar test images

  • You can choose either simple images or challenging images

    • Challenging images: You will get up to 15% higher points

Dataset

Download the test images of

II. Procedure

First, understand fully about the design problem.

Design the algorithm flow. You must show the algorithm flowchart or any other methods to clearly show your strategy.

You can follow the basic procedures as follows. You may add more processes if necessary.

Download dataset images

From the color raw image, cover to a gray-scaled image

  • HINT: copper sheet has a reddish surface\

  • You can use cv.split() to see individual channel

Apply Pre-processing such as filtering

Find ROI (region of interest) of the metal sheet from the image

  • HINT: Analyze the image area where the metal sheet is located

  • For ROI, it does not have to be a rectangle

Within the ROI, find the edge of the metal sheet

  • HINT: you need to eliminate other objects besides the metal sheet's edge as much as possible

Detect and Display the curvature of the metal edge

  • HINT: Find Contour

Measure the curvature's vertex (minimum point of Y-axis [px] ) as the tension SCORE .

  • Measure the height from the bottom of the image.

Detect the tension level from Lv. 1 to Lv. 3

Display the Final Output

  • Tension level: Level 1~3

  • Score: y-position [px] of the curvature vertex from the bottom of the image

  • Curvature edge overlay

Your algorithm will be validated with other similar test object

III. Report

Lab Report:

  • Show what you have done with concise explanations and example results of each necessary process

  • In the appendix, show your source code.

  • Submit in both PDF and original file (*.md etc)

Source Code:

  • Zip all the necessary source files.

  • Only the source code files. Do not submit image files, project files etc.

Last updated