DefectTex AI: Textile Defect Classification, Severity Analysis and Fabric Quality Recommendation System

Fabric inspection is an essential quality-control activity in the textile industry because defects formed during yarn preparation, weaving, finishing, storage, or handling can reduce the appearance, usability, and commercial value of fabric. Conventional inspection is commonly performed through visual examination by trained personnel. Although this approach remains useful, the inspection process can be time-consuming and its results may vary with the experience, attention, and working conditions of the inspector. This paper presents DefectTex AI, a web-based prototype developed to support fabric inspection through machine-learning-based image classification and quality assessment. The system accepts a fabric image through a web interface and processes it using an ensemble approach combining Random Forest and XGBoost. The project dataset contains five categories: Good, Hole, Objects, Oil Spot, and Thread Error. After classification, the application displays the predicted defect category and provides severity information, a fabric-quality score, a recommendation, and an Accept or Reject outcome. The application is implemented using Python and the Flask framework, providing a simple interface for submitting images and viewing analysis results. The project evaluation table reports 88.48% accuracy for Random Forest, 92.66% for XGBoost, and 92.77% for the ensemble. The ensemble also records 90.95% precision, 92.77% recall, and a 91.18% F1-score in the reported results. These values indicate that the ensemble achieved the highest accuracy among the three evaluated models in the project results. The main contribution of DefectTex AI is the integration of defect classification and quality-related outputs in one web-based workflow, intended to assist users in making more consistent fabric-inspection decisions. The prototype is designed as a decision-support aid rather than a replacement for professional inspection. Further validation using a clearly documented independent test set, class-wise evaluation, and expert-verified severity rules is required before deployment in an industrial environment.

Authors

Institutions

Publication Details

Journal
Indian Journal of Computer Science and Technology
Published
2026-11-25
DOI
https://doi.org/10.59256/indjcst.20260503120
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

DefectTex AI: Textile Defect Classification, Severity Analysis and Fabric Quality Recommendation System

Meghana Patil, K P Preethi, G S Chethan Kumar, A Swarnalatha et al.
3 links
Indian Journal of Computer Science and Technology
Industrial Vision Systems and Defect Detection
article

DefectTex AI: Textile Defect Classification, Severity Analysis and Fabric Quality Recommendation System

Meghana Patil, K P Preethi, G S Chethan Kumar, A Swarnalatha, Naik R Prasanna Kumar
article en

Abstract

Fabric inspection is an essential quality-control activity in the textile industry because defects formed during yarn preparation, weaving, finishing, storage, or handling can reduce the appearance, usability, and commercial value of fabric. Conventional inspection is commonly performed through visual examination by trained personnel. Although this approach remains useful, the inspection process can be time-consuming and its results may vary with the experience, attention, and working conditions of the inspector. This paper presents DefectTex AI, a web-based prototype developed to support fabric inspection through machine-learning-based image classification and quality assessment. The system accepts a fabric image through a web interface and processes it using an ensemble approach combining Random Forest and XGBoost. The project dataset contains five categories: Good, Hole, Objects, Oil Spot, and Thread Error. After classification, the application displays the predicted defect category and provides severity information, a fabric-quality score, a recommendation, and an Accept or Reject outcome. The application is implemented using Python and the Flask framework, providing a simple interface for submitting images and viewing analysis results. The project evaluation table reports 88.48% accuracy for Random Forest, 92.66% for XGBoost, and 92.77% for the ensemble. The ensemble also records 90.95% precision, 92.77% recall, and a 91.18% F1-score in the reported results. These values indicate that the ensemble achieved the highest accuracy among the three evaluated models in the project results. The main contribution of DefectTex AI is the integration of defect classification and quality-related outputs in one web-based workflow, intended to assist users in making more consistent fabric-inspection decisions. The prototype is designed as a decision-support aid rather than a replacement for professional inspection. Further validation using a clearly documented independent test set, class-wise evaluation, and expert-verified severity rules is required before deployment in an industrial environment.

Indian Journal of Computer Science and Technology
University B.D.T College of Engineering (IN), Visvesvaraya Technological University (IN)
Industrial Vision Systems and Defect Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon