Steel Surface Defect Detection Gets a Boost
Detecting defects on steel surfaces is a tough job. The surface can be shiny and have complex patterns, making it hard to spot defects. Plus, tiny defects can be easy to miss because of low image resolution. And when it comes to training AI models, rare defects can get lost in the shuffle.
Researchers have been working on a solution to these problems. They came up with a new framework called ATFL-Swin-YOLO. It's based on a popular model called YOLOv8n, but with some key upgrades. For one, it uses a special loss function called Adaptive Threshold Focal Loss. This helps the model focus on the hard samples, like rare defects.
The team also added some transformer blocks to the model. These blocks are great at understanding long-range relationships in images. They help the model ignore background noise and focus on the defects. And to catch those tiny defects, the team added a high-resolution detection head. This head helps the model see fine details that might otherwise be missed.
So, does it work? The team tested their model on two benchmark datasets. The results were impressive. The model reduced the number of parameters by 16%, making it more efficient. And it improved the detection accuracy, especially for tiny defects. In fact, it outperformed other state-of-the-art models in terms of precision and efficiency.
The researchers also did some extra tests to see how each component of their model contributed to the results. It turned out that the combination of the adaptive loss function, transformer blocks, and high-resolution detection head was key to the model's success. This approach could have big implications for quality control in industries that rely on steel.