Detection of defects in fabric and quality control in modern textile

Pakistan is one of the finest exporters of the fabric in the world. Maximum type of quality checking is done manually. For an Employ, it is not possible to identify defect in large number of pieces. As this is the era of automation in every phase of industry but in fabric industry, human does

2025-06-28 16:32:01 - Adil Khan

Project Title

Detection of defects in fabric and quality control in modern textile

Project Area of Specialization Electrical/Electronic EngineeringProject Summary

Pakistan is one of the finest exporters of the fabric in the world. Maximum type of quality checking is done manually. For an Employ, it is not possible to identify defect in large number of pieces.

As this is the era of automation in every phase of industry but in fabric industry, human does the final inspection of the product. The probability of error is too high. Our goal is to solve this problem using Modern technologies. We will design a machine that will do the following checks.

These techniques will be implemented in Raspberry Pi 4. The fabric will be moving on a conveyer belt. We will use a camera, which will capture the image for Design Variation and Missing loop test. If both tests are passed, then we will check the color variation and humidity of the fabric. Then if all the tests are clear. That means the fabric will be considered as fine product. If all these tests are not clear, then it will go to the defected product section. It will be isolated with the help of the robotic arm. This machine provides a lot of benefits to the textile industry.

Textile contributes 8.5% of the GDP of Pakistan. With this machine our time is saved. It will enhance the quality. Its design is environmental friendly. It consumes less area. On the other hand, raspberry pi is advance microcontroller. It can work in the harsh environment of the industry. Furthermore,

Its accuracy is based on the machine learning algorithm. Our data set is consisting on the 1000 images. We can test its accuracy with evaluation matrix. In case of sensors, we have 100% accuracy as it is working on comparison model. If our color is according to base model than it will procedure otherwise it will declare it as defected fabric.

Project Objectives Project Implementation Method

Our Project is consisting on Two main parts. These parts are described in a detailed manner.

  1. Software part
  2.  Hardware part

The hardware part consists of designing of the following three main parts.

    1. The Robotic Arm

It will be made up of motors and moment arms that will help it to move in 3D.      The main role of Robotic arm is to isolate the defected fabric.

    1. The Conveyor Belt

This conveyor belt will be made of leather which is moving over the pulleys. The motion of these pulleys will be totally in control of the motors.

    1. The Main Machine Design

The machine design is a tough task but it will be purely made of aluminum, where the camera will be mounted over the conveyor belt and all other sensors will be attached on the top of the conveyor belt.

Benefits of the Project

The major benefit of our project would be complete automation without involving humans in the quality control process. The accuracy of our machine learning algorithm is 98% along with the sensor part which gives 100% accuracy. We have to save our time, manually, it consumes a lot of time. The nominal core frequency of Raspberry pi 4 is 1.5GHz. In this way, Our microcontroller can do these tasks in seconds.

It is the introduction of automation in the quality control process of the textile industry. Our robotic arm will isolate our defective piece. It means no more labor in the quality control process and it reduces the cash outflows. We are merging three different departments of a quality control process in a machine to save place and time. Color variation, design variation, missing loop, and humidity test is done by a single machine.

In this way, our labor rate decreases, our power consumption is decreases and our accuracy is increases. We can use this machine for fabric, socks, and garments also. Its assembly is short and simple. So, its maintenance is easy. One of the most important things is it is a Robust solution for the changes in design fabric color.

Technical Details of Final Deliverable

Our project is controlling a camera, robotic arm using Raspberry Pi and conveyer belt with Arduino. Our project is consisting on two parts.

  1. Software work
  2. Hardware work

Software work includes coding for machine learning and image processing. The software part also includes gathering the dataset for the design variation test. The machine learning algorithm we used is a deep neural network that has layers that will help us to classify and find out the design. We will use our dataset for the execution of the code. All programming is done in jupyter notebook of anaconda and googles colab for its better performance.  

Hardware work includes the making of the robotic arm and similarly making of the conveyor belt. The next part is to assembling our conveyer belt with the camera and robotic arm. The main 3D model will be made up of a 1.5 mm gauge aluminum rod that strengthens the whole structure. All components are placed according to the AutoCAD design. There will be an LCD that will be displaying all the work regarding machine working. The power will be consumed as shown.

Conveyor Belt

Main Module

Sensors

Miscellaneous

Final Deliverable of the Project Hardware SystemCore Industry ManufacturingOther IndustriesCore Technology Artificial Intelligence(AI)Other Technologies OthersSustainable Development Goals Good Health and Well-Being for People, Affordable and Clean Energy, Decent Work and Economic Growth, Industry, Innovation and InfrastructureRequired Resources
Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
Total in (Rs) 42850
Raspberry pi 4 - 4GB Equipment11500015000
Raspberry Pi Cam Equipment138003800
Flash Light Equipment2100200
DC Stepper Motor Nema 17 Equipment27501500
Aluminum lengths 25 feet Equipment251704250
L-298 Motor driver Equipment2200400
5V voltage regulator Equipment22040
DHT11 Equipment2180360
TCS-3200 Equipment25501100
12V DC power supply Equipment1600600
Arduino UNO R3 Equipment1700700
7 inch LED display Equipment11050010500
Conveyor belt rollers Equipment27001400
Conveyor belt shaft Equipment1200200
Conveyor belt leather 5 feet Equipment53001500
Robotic Arm Equipment110001000
Veroboard Equipment250100
Connecting Wires Equipment1200200

More Posts