Abstract

The aim of this research is to develop and validate two computer programs based on artificial intelligence (AI) and digital image analysis (DIA) in order to determine the incidence of medullation in white alpaca fibers. Two data sets were analyzed: 76 samples of Huacaya alpaca fibers obtained from Huancavelica, Peru, and 200 samples of white alpacas of two genotypes (Huacaya, n =100; Suri, n = 100), obtained from Arequipa, Peru. The preparation of each sample followed the procedure described in IWTO-8-2011. The Pytorch framework was used to generate several training models based on the You Only Look at Once (YOLO) architecture. Circa 4000 pic- tures of fibers were taken and 661 of them were selected as representative. Using the LabelImg software, the fibers present in each representative picture (approximately 10 fibers/picture) were labeled as one of these two classes: either medullated or non-medullated. Subsequently, the data augmentation technique was applied to expand the data set to 3966 photographs. Thus, 90 of them were used as initial validation data, while the reaming 3876 pictures (containing a total of 23,964 labeled fibers) were used as training data. Matlab was used to develop the DIA-based software. More specifically, algorithms of pre-processing, segmentation, smoothing, skeletonization and Hough transform were implemented to detect medullated and non-medullated fibers. Cor- relation and linear regression analyses were used to evaluate the models. The medullation percentage results show that there is no statistically significant difference between the AI-based method and the projection mi- croscope method (p-value = 0.668 and 0.672 for the t-student and Wilcoxon tests, respectively). Moreover, the correlation of each of the developed computer methods with the projection microscope method is very strong (r = 0.99 and 0.97). This confirms the software ability to perform the recognition of fibers with and without medullation. Similar results (p-value = 0.357) were obtained when comparing the projection microscope method and DIA-based software method. Finally, using the proposed framework, the average time required to analyze a sample was 19.44 s. As a result, this software allows the implementation of practical, precise, and efficient methodologies to determine the incidence of medullation of alpaca fibers.

* Corresponding author at: Laboratory of Innovations and Technological Development, MAXCORP Technologies S.A.C, 866 Ruisen ̃ores Av., Office 403. Santa Anita, Lima, Peru.

E-mail address: [email protected] (M.Q. Bonilla).

Download Article

 

es_PESpanish