원시데이터 수집 시스템
선정목록으로

Dataset for defect detection in textile manufacturing

간접 관련 패션 · (24) 패션(코오롱FnC) (17) 스펀본드 부직포(3) 자동차 인테리어 소재

기본 정보

저자
  1. Beatriz Gil-Arroyo — Grupo de Inteligencia Computacional Aplicada (GICAP), Departamento de Digitalización, Escuela Politécnica Superior, Universidad de Burgos, Av. Cantabria s/n 09006, Burgos, Spain
  2. Juan M. Sanz — Textil Santanderina, Avda. Textil Santanderina S/N, 39500 Cabezón de la Sal (Cantabria), Spain
  3. Ángel Arroyo — Grupo de Inteligencia Computacional Aplicada (GICAP), Departamento de Digitalización, Escuela Politécnica Superior, Universidad de Burgos, Av. Cantabria s/n 09006, Burgos, Spain
  4. Daniel Urda — Grupo de Inteligencia Computacional Aplicada (GICAP), Departamento de Digitalización, Escuela Politécnica Superior, Universidad de Burgos, Av. Cantabria s/n 09006, Burgos, Spain
  5. Nuño Basurto — Grupo de Inteligencia Computacional Aplicada (GICAP), Departamento de Digitalización, Escuela Politécnica Superior, Universidad de Burgos, Av. Cantabria s/n 09006, Burgos, Spain
  6. Álvaro Herrero — Grupo de Inteligencia Computacional Aplicada (GICAP), Departamento de Digitalización, Escuela Politécnica Superior, Universidad de Burgos, Av. Cantabria s/n 09006, Burgos, Spain
DOI
10.1016/j.dib.2025.111451
저널
Data in Brief
발행년도
2025
발행기관
Elsevier BV
피인용수
3
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.dib.2025.111451
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W4408224500

평가 내용

관련도
간접 관련
사업분야
패션 · (24) 패션(코오롱FnC)
부 분야
(17) 스펀본드 부직포, (3) 자동차 인테리어 소재
R&D 측면
물성·성능 평가
확신도
0.80
근거 용어
defect detection, textile manufacturing, quality inspection, woven fabric, image analysis
판단 근거
본 논문은 직물(Batavia, Sarga) 제조 공정 중 발생하는 결함을 AI/머신러닝 기반의 이미지 분석으로 검출하는 데이터셋에 관한 연구입니다. 이는 코오롱인더스트리의 섬유 및 패션 사업부의 품질 관리(Quality Control) 공정 자동화 및 고도화에 적용 가능한 기술입니다.
R&D 활용 포인트
산업용 부직포, 타이어코드, 패션용 원단 등 코오롱의 주요 섬유 제품 생산 라인에 AI 비전 검사 시스템을 도입하여 결함 검출 정확도를 높이고 공정 효율을 개선하는 데 활용할 수 있습니다.
평가 입력
본문 20,730자

초록

This dataset, collected during November 2022 at Textil Santanderina, a leading textile manufacturer based in Cabezón de la Sal (Cantabria, Spain), comprises high-resolution images of Batavia and Sarga fabrics. The images were captured as part of a project to document and analyze the intricate weaves and patterns of these fabrics. Using a high-resolution camera under controlled lighting conditions, detailed images were obtained to ensure consistent quality and accurate representation of the fabric's texture and colour. The dataset is provided in processed format, where images have been downscaled from 16 bits to 8 bits, cropped, and classified into cases and controls. The primary reuse potential of this dataset lies in its application for Artificial Intelligence (AI) and Machine Learning (ML) models aimed at defect detection in textile manufacturing. By leveraging these high-quality processed images, researchers and developers can train models to identify and classify various types of fabric defects, such as weave inconsistencies, colour variations, and surface irregularities. This can significantly enhance the efficiency and accuracy of quality control processes in textile production. Additionally, the dataset serves as a valuable resource for academic research in textile engineering and material science. It can be used to study the properties and behaviours of Batavia and Sarga weaves under different conditions, contributing to advancements in fabric design and manufacturing techniques. The detailed visual information provided by the processed images also supports the development of new methodologies for automated textile inspection and quality assurance. By making this dataset available, Textil Santanderina and University of Burgos aim to support innovation and improvement in textile quality control through AI-driven solutions, fostering collaboration and development within the industry.

본문 20,730자

본문 펼치기
Contents lists available at [ScienceDirect](http://www.ScienceDirect.com/science/journal/23523409) ~~Data~~ ~~in~~ ~~Brief~~ journal homepage: [www.elsevier.com/locate/dib](http://www.elsevier.com/locate/dib) Data Article # Dataset for defect detection in textile manufacturing Beatriz Gil-Arroyo <sup>a,∗</sup>, Juan Marcos Sanz <sup>b</sup>, Ángel Arroyo <sup>a</sup>, Daniel Urda <sup>a</sup>, Nuño Basurto <sup>a</sup>, Álvaro Herrero <sup>a</sup> a _Grupo_ _de_ _Inteligencia_ _Computacional_ _Aplicada_ _(GICAP),_ _Departamento_ _de_ _Digitalización,_ _Escuela_ _Politécnica_ _Superior,_ _Universidad_ _de_ _Burgos,_ _Av._ _Cantabria_ _s/n_ _09006,_ _Burgos,_ _Spain_ b _Textil_ _Santanderina,_ _Avda._ _Textil_ _Santanderina_ _S/N,_ _39500_ _Cabezón_ _de_ _la_ _Sal_ _(Cantabria),_ _Spain_ a r t i c l e i n f _Article_ _history:_ Received 31 January 2025 Revised 25 February 2025 Accepted 3 March 2025 Available online 7 March 2025 Dataset link: Original and processed dataset of Batavia and Sarga [woven](https://doi.org/10.36443/10259/9965) fabric images (Original data) _Keywords:_ Textile manufacturing Textile industry Batavia and Sarga fabric Defect detection Image analysis Artificial Vision Quality inspection ∗ Corresponding author. a b s t r a c t This dataset, collected during November 2022 at Textil Santanderina, a leading textile manufacturer based in Cabezón de la Sal (Cantabria, Spain), comprises high-resolution images of Batavia and Sarga fabrics. The images were captured as part of a project to document and analyze the intricate weaves and patterns of these fabrics. Using a high-resolution camera under controlled lighting conditions, detailed images were obtained to ensure consistent quality and accurate representation of the fabric’s texture and colour. The dataset is provided in processed format, where images have been downscaled from 16 bits to 8 bits, cropped, and classified into cases and controls. The primary reuse potential of this dataset lies in its application for Artificial Intelligence (AI) and Machine Learning (ML) models aimed at defect detection in textile manufacturing. By leveraging these high-quality processed images, researchers and developers can train models to identify and classify various types of fabric defects, such as weave inconsistencies, colour variations, and surface irregularities. This can significantly enhance the efficiency and accuracy of quality control processes in textile production. Additionally, the dataset serves as a valuable resource for academic research in textile engineering and material science. It can be used to study the properties and behaviours of Batavia and Sarga weaves under different conditions, con _E-mail_ _address:_ [bgarroyo@ubu.es](mailto:bgarroyo@ubu.es) (B. Gil-Arroyo). [https://doi.org/10.1016/j.dib.2025.111451](https://doi.org/10.1016/j.dib.2025.111451) 2352-3409/© 2025 The Authors. Published by Elsevier Inc. This is an open access article under the CC BY-NC license [(http://creativecommons.org/licenses/by-nc/4.0/)](http://creativecommons.org/licenses/by-nc/4.0/) tributing to advancements in fabric design and manufacturing techniques. The detailed visual information provided by the processed images also supports the development of new methodologies for automated textile inspection and quality assurance. By making this dataset available, Textil Santanderina and University of Burgos aim to support innovation and improvement in textile quality control through AI-driven solutions, fostering collaboration and development within the industry. © 2025 The Authors. Published by Elsevier Inc. This is an open access article under the CC BY-NC license [(http://creativecommons.org/licenses/by-nc/4.0/)](http://creativecommons.org/licenses/by-nc/4.0/) Specifications Table Subject Computer Sciences Specific subject area Textil Santanderina: Experts in high-quality fabrics since 1923, committed to global innovation and sustainability _._ Type of data Processed images. Data collection The imaging system employs a Basler raL camera with the Awaiba DR-12k-3.5 CMOS sensor, with a resolution from 8 kHz to 12k [1]. Operating within the VIS-NIR bandwidth, with resolution of 10 pixels/mm. A LED array emitting at 850 nm is utilized, covering a field of 15 mm × 1510 mm, situated at a height of 20 cm above the tissue, comprises 360 infrared (IR) LEDs at 850 nm wavelength, each with an incident angle set at 15 degrees. This IR illumination prevents interference with existing standard D65 illumination systems commonly used in visual inspection. Data source location The data were collected in: Institution Textil Santanderina City/Town/Region: Cabezón de la Sal, Cantabria Country: Spain Geographical coordinates: 43.31164220450848, -4.225763758747999 Data accessibility Repository name: Institutional Repository of the University of Burgos Data identification number: _DOI:_ [10.36443/10259/9965](https://doi.org/10.36443/10259/9965) Direct URL to data: [10.36443/10259/9965](https://doi.org/10.36443/10259/9965) [2] Related research article B. Gil-Arroyo, N. Velasco-Pérez, J.M. Sanz, A. Casas, A. Arroyo, D. Urda, Defect detection in Batavia and Sarga woven fabrics by means of convolutional neural networks, J. Appl. <u>Logics,</u> <u>submitted</u> <u>for</u> <u>publication,</u> <u>2025</u> <u>[3].</u> 1. Value of the Data - This dataset facilitates the integration of artificial intelligence and computer vision in the textile industry, serving as a valuable resource to train models for real-time defect detection in textile patterns. By incorporating machine learning models trained on this dataset into production lines, it enhances the efficiency and objectivity of defect detection, improving the ability to identify issues before final products leave the factory. - The dataset provides a solid foundation for developing and training more advanced machine learning models such as categorizing defects by typology or classifying different twill weave patterns. - The dataset could be valuable in training and coaching new employees in the textile industry. - Production process experts can identify patterns and areas for improvement in machinery and product quality. - Researchers exploring applications beyond the textile industry, such as image recognition and pattern analysis, can benefit from the diverse and well-labeled twill fabric dataset. 2. Background In Spain, the textile industry plays a crucial role in both the economy and cultural heritage [4]. As a significant contributor to employment and Gross Domestic Product (GDP), it fosters innovation and sustainability in fabric production [5]. Machine learning (ML) is revolutionizing this sector by enhancing quality control and fault detection processes [6,7,8,9]. Algorithms can analyze vast datasets to predict and prevent defects in textiles, ensuring higher product standards and reducing waste. Moreover, ML applications extend beyond quality assurance; they optimize production processes by predicting demand, managing inventory efficiently, and streamlining supply chains. This predictive capability not only boosts productivity but also minimizes costs and environmental impact through better resource utilization. Looking ahead, advancements in ML-driven automation promise further improvements in textile manufacturing, from automated looms to smart factories. By integrating these technologies, Spain’s textile industry can maintain its competitive edge globally, embracing sustainability and innovation while meeting evolving consumer demands. This convergence of tradition and technology underscores the pivotal role of textiles in Spain’s industrial landscape, driving economic growth and sustainable development into the future. 3. Data Description The dataset has two different weaves (Batavia and Sarga). These textiles were selected due to their distinctive characteristics and relevance in various textile applications. Batavia fabric, a type of twill weave within Sarga fabrics, blends 85% cotton and 15% linen. In November 2022, 2755 high-resolution grayscale images (16-bit, 2048 × 696 pixels) were collected, focusing on a neutral greige fabric. Sarga fabric, known for its diagonal weave pattern, offers durability and versatility for various textile applications. In November 2022, 1548 high-resolution grayscale images (16-bit, 2048 × 696 pixels) were gathered, featuring a neutral greige fabric to minimize colour variability. The dataset is organized by two types of woven fabrics: Batavia and Sarga, each containing images in PNG format. Within each fabric category, there are specific directories: 1. Batavia: - Originals: Contains 2755 8-bit PNG images of size 2048 × 696 pixels. - Patches: - Cases: Includes 8782 cropped PNG images (365 × 365 pixels) with defects. - Controls: Includes 19,911 cropped PNG images (365 × 365 pixels) without defects. - info_patches.csv: A CSV file with columns for image and patch names, operator’s and ground truth labels (0 for no defect, 1 for defect). - Note: In Batavia dataset, the total number of patches does not equal the number of originals multiplied by 12 due to a review by Textil Santanderina. During this process, where 4367 ambiguous patches were excluded as their labels (case/control) were unclear. 2. Sarga: - Originals: Contains 1548 8-bit PNG images of size 2048 × 696 pixels. - Patches: - Cases: Includes 173 cropped PNG images (365 × 365 pixels) with defects. - Controls: Includes 18,403 cropped PNG images (365 × 365 pixels) without defects. - info_patches.csv: A CSV file structured similarly to Batavia’s file, providing image and patch details along with defect labels. - Note: In Sarga dataset, the total number of patches equals the number of originals multiplied by 12. Fig. 1. Examples of patches images. The directories patches contain the 365 × 365 cropped images with small overlapping areas on both the horizontal and vertical axis. In Fig. 1, examples of patches can be observed. For each of the two fabrics, there is an example of an image with a defect (case) and another without a defect (control). The PNG file naming convention follows: - Original images: Identified by a numeric identifier, the original folder number from Textil Santanderina and followed by the suffix “8bit” For example: 0_0_9304_20221117_0_8bit.png - 0_0_9304 is the numeric ID. - 20221117 is the acquisition date of the image, in this example November 17, 2022. In Batavia, all the images were taken on November 17, 2022, while in Sarga, this date does not appear in the image name, but they were also taken in November 2022. - 0 is the original folder. The range goes from 0 to 2 - 8bit is the suffix. - png is the file extension. - Patches: Named using the original image name, row, and column indices, referencing the 2 × 6 matrix slicing of the original images into 12 segments of size 365 × 365 pixels, with a small overlap in both the x and y axes For example: 0 0 9304 20221117 0 8bit 2 1png: Fig. 2. 2 × 6 matrix slicing. Fig. 3. Directory structure. Table 1 Slicing details. Patch Coordinates (x,y) Width (pixel) Height (pixels) 1_1 (0,0) 365 365 1_2 (0, 336) 365 365 1_3 (0, 672) 365 365 1_4 (0, 1008) 365 365 1_5 (0, 1344) 365 365 1_6 (0, 1680) 365 365 2_1 (0, -330) 365 365 2_2 (336, -330) 365 365 2_3 (672, -330) 365 365 2_4 (1008, -330) 365 365 2_5 (1344, -330) 365 365 2_6 (1680, -330) 365 365 - 0_0_9304_20221117_0_8bit is the original image name. - 2 is the row of the matrix. - 1 is the column of the matrix. In the process of slicing the original images, the 2048 × 696 pixel images were divided into 12 segments of 365 × 365 pixels each, following a 2 × 6 matrix with 2 rows and 6 columns. This slicing was carried out to facilitate analysis and experimentation. Fig. 2 illustrates this 2 × 6 matrix slicing of the original 2048 × 696 images into 12 patches of size 365 × 365 pixels each. Table 1 presents the specific details of this slicing, including the starting coordinates of each patch within the original image The point (0 0) is considered to be the top-left corner of the Table 2 Dataset’s folder structure and number of images. Folder N° images Batavia\originals 2755 Batavia\patches\cases 8782 Batavia\patches\controls 19,911 Sarga\originals 1548 Sarga\patches\cases 173 Sarga\patches\controls 18,403 2048 × 696 image. The coordinates (x, y) correspond to the top-left corner of each patch. The slicing includes an overlap of 29 pixels in the x-axis and 35 pixels in the y-axis. In Fig. 3, the directory structure of the dataset is shown. This fig. illustrates the hierarchical organization of directories and files comprising the dataset. The structured design facilitates efficient management and access to the dataset samples, essential for conducting any analysis. The directory structure is organized by fabrics (Batavia and Sarga). Within each fabric, there are original images of size 2,048 × 696 pixels and patches. Inside the ’patches’ folder, there are two subfolders: ’cases’ and ’controls’, and a CSV file named ’info_patches’ containing the detailed information mentioned above. Table 2 presents an overview of the dataset’s folder structure and the corresponding number of images included in each category. The dataset is organized into two main types of fabrics, Batavia and Sarga, each containing original images and patches. This systematic categorization is essential for subsequent research and detailed analysis of the dataset, enabling comprehensive exploration and understanding of the dataset’s contents and distributions under different experimental conditions. 4. Experimental Design, Materials and Methods The system was configured to capture images of Batavia and Sarga in November, 2022. A total of 2755 images of Batavia weave and 1548 of Sarga weave were obtained. All images were 8-bit 2048 × 696 pixels, instead of 16 bits. This reduction was mainly done to decrease the file size; 16-bit images can represent 65,536 different colours, while 8-bit images have a lower colour depth limited to 256 colours. This reduction in the number of colours can affect the visual quality of the images, but if the additional colour information is not critical for the research, this conversion can simplify image processing. Each original 8-bit 2048 × 696 image was divided into 12 parts of 365 × 365 pixels with a small overlap in the vertical and horizontal axes. Thus, for Batavia tissue, 28,693(the total number of patches does not equal the number of originals multiplied by 12 due to a review by Textil Santanderina) sliced images were obtained, of which 19,911 correspond to controls and 8782 to cases. Accordingly, 18,576 (12 × 1548) Sarga fabrics 365 × 365 patches were acquired, of which 18,403 controls and 173 cases. We used different python libraries to image pre-processing, so we can obtain 12 patches from each 2048 × 696 8-bit image. The python libraries used have been: - Os: for manipulating paths and directories [10]. - Glob: for finding file names that match a search pattern [11]. - PIL (Pillow): for opening, manipulating, and saving images [12]. - Shutil: for file and directory manipulation operations, such as copying and moving [13]. The raw data, pre-processed images, and image pre-processing code has been uploaded to GitHub, given that offers a centralized space for collaborative software development, providing essential tools for version control, project management, and collaboration between developers [14] Limitations Not applicable. Ethics Statement The authors have read and followed the ethical requirements for publication in Data in Brief and confirming that the current work does not involve human subjects, animal experiments, or any data collected from social media platforms. CRediT Author Statement Beatriz Gil-Arroyo : writing - Original Draft, Visualization. Juan Marcos Sanz : Validation, Resources. Ángel Arroyo : Formal analysis, Investigation, supervising, writing - Review & Editing . Daniel Urda : Methodology, Software, Data Curation, Project administration, writing - Review & Editing. Nuño Basurto : Review & Editing. Álvaro Herrero : Conceptualization, Supervision, Funding acquisition. Data Availability Original and processed dataset of Batavia [and](https://doi.org/10.36443/10259/9965) Sarga woven fabric images (Original data) (Uni versity of Burgos. Public Repository). Acknowledgements The funding for this project was provided by the DECENT (Deep Learning for automatic Textile Inspection) initiative under the DIH-World 2nd Open Call framework. The authors express their gratitude to INADE for their collaboration in acquiring the images. Declaration of Competing Interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. References [1] The Basler racer raL12288-8gm [website], Basler, 2024. [https://www.baslerweb.com/en/shop/ral12288-8gm/,](https://www.baslerweb.com/en/shop/ral12288-8gm/) 2024 (Accessed 20 February 2025). [2] B. Gil-Arroyo, N. Velasco-Pérez, N. Basurto, J. M. Sanz, D. Urda, A. Herrero, Original and processed dataset of Batavia and Sarga woven fabric images,, UBU Repository, v1, 2025. [https://doi.org/10.36443/10259/9965.](http://doi.org/10.36443/10259/9965) [3] B. [Gil-Arroyo,](http://refhub.elsevier.com/S2352-3409%0x2825%0x2900183-0/sbref0003) N. [Velasco-Pérez,](http://refhub.elsevier.com/S2352-3409%0x2825%0x2900183-0/sbref0003) J.M. [Sanz,](http://refhub.elsevier.com/S2352-3409%0x2825%0x2900183-0/sbref0003) A. [Casas,](http://refhub.elsevier.com/S2352-3409%0x2825%0x2900183-0/sbref0003) A. [Arroyo,](http://refhub.elsevier.com/S2352-3409%0x2825%0x2900183-0/sbref0003) D. [Urda,](http://refhub.elsevier.com/S2352-3409%0x2825%0x2900183-0/sbref0003) Defect detection in Batavia and Sarga woven fabrics by means of convolutional neural networks, J. Appl. Logics (2025) submitted for publication. [4] H. Oevermann, B.M. Walczak, M. Watson, The Heritage of the Textile Industry, Lodz University of Technology Mono graphs, 2022, [doi:10.34658/9788366741232.](https://doi.org/10.34658/9788366741232) [5] Ministerio de Industria, Comercio y Turismo, [Informe](https://www.mintur.gob.es/es-es/IndicadoresyEstadisticas/Presentaciones/20sectoriales/02./20Textil/20y/20confeccion.pdf) sectorial: Textil y confección [website], 2024. https: //www.mintur.gob.es/es-es/IndicadoresyEstadisticas/Presentaciones/20sectoriales/02./20Textil/20y/20confeccion.pdf, (Accessed 20 February 2025). [6] P.R. Jeyaraj, E.R.S. Nadar, Effective textile quality processing and an accurate inspection system using the advanced deep learning technique Text Res J 90 (9-10) (2020) 971–980 [doi:10 1177/0040517519884124](https://doi.org/10.1177/0040517519884124) [7] B. Wei, B. Xu, K. Hao, L. Gao, Textile defect detection using multilevel and attentional deep learning network (MLMA-Net), Text. Res. J. 92 (19-20) (2022) 3462–3477, [doi:10.1177/00405175211073773.](https://doi.org/10.1177/00405175211073773) [8] I. Koulali, M.T. Eskil, Unsupervised textile defect detection using convolutional neural networks, Appl. Soft Comput. 113 (2021) 107913, [doi:10.1016/j.asoc.2021.107913.](https://doi.org/10.1016/j.asoc.2021.107913) [9] H. Zhang, W. Zhang, Y. Wang, S. Lu, L. Yao, X. Chen, Colour-patterned fabric-defect detection using unsupervised and memorial defect-free features, Color. Technol. 138 (6) (2022) 602–620, [doi:10.1111/cote.12624.](https://doi.org/10.1111/cote.12624) [10] Python Software Foundation, os - Miscellaneous [operating](https://docs.python.org/3/library/os.html) system interfaces [software], 2024. https://docs.python. org/3/library/os.html, (Accessed 20 February 2025). [11] Python Software Foundation, glob - Unix style [pathname](https://docs.python.org/3/library/glob.html) pattern expansion [software], 2024. https://docs.python. org/3/library/glob.html, (Accessed 20 February 2025). [12] Python Software Foundation, Pillow (PIL Fork) [documentation](https://pillow.readthedocs.io/en/stable/) [software], 2024. https://pillow.readthedocs.io/en/ stable/, (Accessed 20 February 2025). [13] Python Software Foundation, shutil - High-level file [operations](https://docs.python.org/3/library/shutil.html) [software], 2024. https://docs.python.org/3/library/ shutil.html, (Accessed 20 February 2025). [14] Gicap-UBU, dif_textile [software], 2025. [https://github.com/gicap-ubu/dif_textile#contents,](https://github.com/gicap-ubu/dif_textile#contents) (Accessed 20 February 2025).

섹션 본문 55문단 · 24,919자

(제목 없음)

1The present manuscript describes a dataset containing learning analytics data for the playback of learning materials in video format in different college courses in the STEM field, across a period of ten years.It can be used to test hypothesis and tools regarding the use of video in different learning environments, and should be of interest to the learning analytics and educational data mining communities.It can also be of help to teachers and other stakeholders in the educational process to take decisions based on learners actions when playing videos.It consists of data for 35 different videos, with a total of 40,453 sessions, and 313,724 records.The videos are accompanied by their timestamped transcription, both in the original language and their translation into English.

Value of the Data

2• The dataset we offer in this publication can be used by experts in the domains of learning analytics (LA) and educational data mining (EDM), on one hand, as a tool to test hypothesis and tools regarding video-based learning without the need for the process of data collection and, on the other hand, as an orientation as to how best collect those data if necessary.• In our research, the dataset has proved useful, when visualized as in Córcoles et al. [ 1 ], and especially in Córcoles et al. [ 2 ], to (i) confirm or deny instructors hypothesis regarding difficulty and cognitive load for different learning resources, or (ii) to detect navigational patterns that occur for certain student profiles or at certain moments in the course, which present an opportunity to offer navigational help to improve student experience, to offer personalised content to students presenting one of these navigational patterns, or to better structure the presentation of information in a future version of a video.• While the fields of LA and EDM have, of course, studied how students interact with learning resources (see Vieira et al. for examples [ 12 ]), they are often more concerned with how students deal with sequences of learning materials than with how they interact with a single learning resource as a venue for the teaching and learning process.But online video, and the digital trace it leaves, allows us to dig down and operate at a lower level of granularity.

3• Currently published research focusing on clickstream analytics (Kim et al. [ 3 ], Giannakos et al. [ 4 ], Kleftodimos et al. [ 5 ], Lau et al. [ 6 ], Shoufan et al. [ 7 ], Min et al. [ 8 ], Hasan et al. [ 9 ], Hu et al. [ 10 ], Mubaraket al. [ 11 ]) has been more concerned with providing information for the improvement of educational videos than with analysing how individual students learn from them and trying to detect behavioural patterns and intervene on their learning, which is an expected result from the publication of the dataset).• To the best of our knowledge, no other comparable datasets are currently publicly available.

Background

4The present dataset was created as one of the artefacts in a study to analyse how students learn from learning resources in video format.In order to carry out that study, it was necessary to collect anonymous data on all interactions that students have with those educational videos.

5In the last few years there has been a movement to more use of online resources for teaching and learning, with the advent of online education, MOOCs, flipped classroom environments and other forms of education.There are numerous advantages to that move, but also some limitations.Firstly, most, if not all, of the feedback experienced teachers obtain in face-to-face teaching situations and use to diagnose how students are learning from visual cues is lost when students use online resources.It is possible to capture some of that lost information because consuming online video leaves a trace: we can record when a student has started watching a video, or the moments when he/she paused it or skipped over a part of it, for example.It seems reasonable to expect that kind of information could make it possible to give teachers some feedback regarding the student's learning process (Córcoles et al. [ 1 ]).

6The data was not made publicly available at the time of the study because internal data from the learning management system was still available, and it could have been used to deanonymize the released data.That is no longer the case.

Data Description

7We have created a single ; when the page is loaded) and then converted to the RFC 7231 format using the toUTCString() method of the JavaScript Date object.This is used (in conjunction with a random key) to identify individual sessions in an anonymous way.

• Random key

8Column name: random Type: varchar(255) NOT NULL Description: When the browser accesses the web page containing the video, it generates a random floating point number between 0 and 1 with approximately uniform distribution over that range (using the JavaScript command var rnd_key = Math.random();).This number is only of interest if two different sessions were to start at the precise same initial timestamp.

• Video

9Column name: video Type: varchar(255) NOT NULL Description: It is a string containing an arbitrarily created identifier for the video the user is playing.The list of videos is contained in Tables 1 , 2 and 3 , below.

• Action

10Column name: accion Type: varchar(255) NOT NULL Description: It contains one of six possible verbs: pageloaded (the web page containing the video is loaded, will appear at most once per session), play (the play button was pressed), seek (the user clicked or dragged on the video's timeline to move to a different point in the video), pause (the pause button was pressed), clickindex (an item on an index for a video was pressed; this results on the playhead moving to the position indicated by the index item), navigatedaway (the user browsed to a different webpage or closed the browser's window).The pageloaded action can be considered redundant, as it contains the same information that the initial timestamp field contains for any videos in which at least another action is recorded, and it has not been recorded for some of the videos, as detailed in Tables 1-3 below.Some of the verbs take an additional parameter, stored in the params field, documented below.

• Action timestamp

11Column name: timestamp_accion Type: varchar(255) NOT NULL Description: It contains a timestamp for the moment in which the action was performed.It is generated in the browser (using the JavaScript command sequence var t_ara = new Date(); Student's T distribution.Catalan language estadistica4 ( * ) Hypothesis tests.Catalan language estadistica1p

12Normal distribution fundamentals (video includes a navigation menu linking to different sections).Catalan language t_ara.setTime(Date.now()); when the action is recorded) and then converted to the RFC 7231 format using the toUTCString() method of the JavaScript Date object.

• Parameters

13Column name: params Type: varchar(255) NOT NULL Description: it contains any necessary parameters for the performed action.The pageloaded action takes no parameters.The play, seeked and paused actions take the moment in the video the playhead is at when the action takes place as a parameter.This is generated using the this.CurrentTime() method (as generated by the Popcorn.jsJavaScript library in the browser).The clickindex action takes the time in the video the action jumps to as a parameter.

14The MySQL command sequence used to create the database is as follows:

15DROP The CSV file, being a straight conversion of the SQL table, has the same format and has been generated by using ( https://github.com/yashsmehta/mysqldump-to-csv).A second CSV file, dump_headers.csv,contains the same information and adds a first line containing the column names for convenience.The first R file, dump.RData, consists of a single R object, a data frame, called dump.It has been generated by importing the CSV file, assigning it names to match the original SQL table structure and then creating a new "replayID" column, assigning a new id to every new combination of the columns page_loaded and rnd_key.The file can be opened using the following command in R: load("dump.Rdata") Finally, a dump.parquetfile in Adobe Parquet format has been created from the CSV file using uvx -with pandas -with pyarrow ipython and then the command sequence

16In [1]: import pandas as pd In [2]: archivo = pd.read_csv('dump.csv')In [3]: archivo.to_parquet('dump.parquet')

17A second file in Adobe Parquet format has been included, containing column names in the first column.In order to access the Adobe Parquet files using R, the "arrow" software must be installed.After installation, the following command can be used to import the data to a dataframe: dump_frame < -read_parquet(dump.parquet)A commented fragment of the CSV file is included in the Experimental design, materials and methods section.

18• The dataset is composed of data from 30 different videos, some of which are presented in different versions.All videos are in Spanish or Catalan, with original language transcriptions and English translations provided in SRT format.The list of videos is contained in Tables 1 , 2 and 3 , below.

Experimental Design, Materials and Methods

19In order to set up the experiment, the necessary steps are:

201. To create a database (MySQL/MariaDB, in our particular case) to store every event, as described above in the Data Description section.2. To create an HTML file for each video or set of videos, with a JavaScript program to capture all events and send them to a server-side program that will then store those events in the database.This is documented in [ 16 ].3. To create the aforementioned server-side program (in PHP, in our particular case) that receives events from the client-side program and stores them in the database.This, again, is documented in [ 16 ].

21To make deployment as easy and universal as possible, we have decided to use a LAMP (Linux, Apache, MySQL, PHP) stack on the server.No additional software packages and dependencies are needed.While other stacks may be used, and may be more performant, our use scenario is easily absorbed by even very basic hardware.The versions employed in our case for Apache Server, MySQL, and PHP are httpd-2.2.15-69.el6.centos.x86_64,mysql-server-5.1.73-8.el6_8.x86_64, and php-5.3.3-50.el6_10.x86_64, respectively.We do not expect issues using more recent versions of the software, at least up to Apache 2.4.6,MySQL 8.0.42 (or MariaDB 11.7.2) and PHP 8.4.5.

22To generate the data to be stored in the database, the Popcorn.jsJavaScript library [ 17 ] was used, as it was one of the very few available JavaScript libraries that allowed for our intended use case at the time.Popcorn.js is an HTML5 video and media library for the web.It "allows web developers, filmmakers, artists, designers and others to easily create timeline-based web productions".Popcorn.jsallows the use of videos in a wide array of formats and origins, including HTML5 video, but also videos embedded from online services such as Vimeo or YouTube.In our experiments, videos have been sourced from the department's institutional account on Vimeo, but the provided code [ 15 ] can be easily modified to use other sources.An example of a set of pages with the data collection setup with the provided code can be accessed at http://cimanet.uoc.edu/videos/bbdd/ .Popcorn.js was initially supported by the Mozilla Foundation.As it has lost that support, it might be interesting to consider other JavaScript libraries allowing the same functionalities (although it is currently actively maintained).It is convenient to use a JavaScript library to abstract us from the different player implementations in online services (such as YouTube or Vimeo).Video.js[ 13 ] and Plyr [ 14 ] are two such libraries, with good support for our needs, and well documented and maintained.

23On the client side, once the page is loaded into the user's browser:

24• The video is inserted into the web page using Popcorn.js.

25• The initial timestamp and random key are generated.

26• A pageloaded event is sent to recorder.php.

27• Events are created for the video in order to intercept every instance in which the user clicks on the play and pause buttons, every time he/she scrubs through the timeline and, if an index is made available to students, every time she clicks on an index item.

28Table 5 contains a fragment of the dump.csvfile.For clarity, the three columns containing repeating content have been omitted: timestamp_inicial contains the "Wed, 08 May 2013 22:07:16 GMT" value, random contains the "0.21737804209767375 and video contains the "estadistica4 value".The sequence of events described in the table is as follows:

29• The page containing the "estadistica4" video is loaded on Wed, 08 May 2013 22:07:16 GMT (this information is derived from the timestamp_inicial column mentioned above).• At 22:07:45 the student clicks on play.

30• At 22:07:53 the student clicks on pause.The playhead is at the 4.391 position.The disagreement between the playhead position and the delay of eight seconds following the previous action can be adequately explained by video buffering issues.• At 22:08:45 the student clicks play again, with the playhead at 4.391.

31• At 22:09:28 the student clicks on the timeline at the 12.688 position.There has been a 43 s delay from the previous action, so it can be assumed that the playhead was at 48.391, resulting from adding the delay to the previous playhead position.• At 22:11:32 and 22:11:34 the student clicks on the 108.75 and 58 positions on the timeline.

32As the two actions are close in time, when processing the raw data, it can be assumed that both registered clicks can be considered part of a single seeking action ending at the 58 s position in the video.• At 22:16:56 the student pauses the video at 376.334.This action takes place 5 min and 22 s (i.e., a total of 322 s) after the previous action.The playhead has moved 376.334-58 = 318.334s, which is consistent with minimal buffering issues, and the data can be assumed as valid.

33• Finally, at 22:16:57 the student clicked on play again.No further actions are recorded, so it must be assumed that either the video played until its end or that the student navigated away from the page.

34If the only intent of the web page is to record all events to a database, then the previous sequence is sufficient.On the other hand, if one wishes to trigger events (such as presenting a questionnaire to the student) as a result of a sequence of events (say, a student pauses for at least a given amount of time in a certain segment of the video, or the student skips backwards multiple times), then the sequence of events must be kept in memory in the browser and a programming logic must be created to detect the desired patterns and launch the associated actions.

35In different scenarios, where the collection of personal data is allowed, both legally and ethically, the random key field could be replaced by an identifier for the user accessing the web page containing the videos.This, of course, would allow for a better understanding of behaviour across multiple sessions.This approach was not used in the data collection process for privacy and ethical reasons.

36Regarding the seek action, when users scrub through the video's timeline, a rapid succession of seek events is recorded to the database, with each event having the timeline position at the moment of the event.Other collections of events that happen in short periods of time can also be considered as a single event for analysis purposes.This must be considered in postprocessing, so that a single scrub having multiple recorded events is correctly interpreted.We have included the raw data, containing all consecutive events.Brinton et al. [ 15 ], for example, offer five seconds as the time period below which consecutive events should be taken as a single one.

37On the server, a combination of a PHP script and a MySQL/MariaDB is used.On the database, a single table was created, described in the above section.A recorder.phpfile [ 16 ] is created to be called from JavaScript on the client side each time an action is performed.It connects to the database, writes a new record into it (composed of initial timestamp, random key, video, action, action timestamp and parameters) and closes the connection to the database.A more robust infrastructure may be used if there is a suspicion that the environments in which the data collection is to be used in (implementing mechanisms to ensure the events are correctly recorded to the database).If online video is to be used, it may be argued that the environment should not give reason to do so (and, in our case, the data validation processes make us believe there is no need for such mechanisms).Also, provisions should be taken to prevent third parties from writing undesired data to the database.In the scenario where the present data were collected, such a possibility was considered highly improbable, so this was not implemented.Also, instead of defining an ad hoc database schema, it may be useful to use mechanisms such as xAPI [ 18 ], "a new specification for learning technology that makes it possible to collect data about the wide range of experiences a person has".xAPI "captures data in a consistent format about a person or group's activities from many technologies.Very different systems are able to securely communicate by capturing and sharing this stream of activities using xAPI's simple vocabulary".The use of such solutions, though, makes deployment harder and development of ad hoc solutions slower, so their use should be carefully considered.

38In order to process the data from the database, said database has been dumped as a commaseparated values (CSV) file, which can then be imported by tools such as R, Matlab, Python scripts, or even spreadsheet software such as Microsoft Excel, LibreOffice Calc or Google Sheets.The data can be exported from the database using a variety of tools, from SQL code to GUI tools such as PHPMyAdmin.

39When importing these CSV files into such tools, special attention must be paid to columns containing timestamps, as these timestamps, because of the infrastructure we have used, are in JavaScript format, when most data processing tools assume timestamps are in other formats, such as Unix timestamps.In the included CSV files, timestamps have already been converted to an appropriate format.The included Python scripts contain examples of how to deal with these timestamps.

40The educational videos for which playback data have been included in the present dataset are in Spanish and Catalan.In order for the dataset to be of interest to the widest possible community, they have been transcribed and made into SRT files, which have then been translated into English and made available in the same SRT format.

41Naturally, extensive tests were carried out before deployment to check that data input was correctly reflected in the collected data, with no remarkable incidents detected.Beyond that, a sample of sessions are visualized regularly to check for any inconsistent data.In a number of occasions, sequences have been detected where temporal incongruence appears:

42• In some cases, the point following a play action would imply that playback speed is faster than 200 %.In our data, playback at a faster than 100 % speed is extremely uncommon, and there is some evidence that very few, if any, users of online video of any kind ever go above 200 % speed.• In some cases, a sequence of points has been detected implying a backwards move by the play head with an inconsistent displacement in the y-axis.This would imply either that a data point has been lost or that incorrect data has been input into the database.

43The offending sequences have not been removed from the raw data.Code in Python has been implemented to process the data taking into account such occurrences and pruning the whole playback from the results.This code can be found in the fileprocessing2.pyfile in the GitHub repository [ 16 ].In particular, we check for all timestamps to be in an ascending order (lines 73 to 79 in the code), and for discrepancies in temporal data both in pauses (lines 128 to 133) and seeking actions (lines 150 to 153).

44It is important, if the data collection solution is deployed, that tests are carried out before deployment to ensure data are recorded properly and that measures are taken for random sampling of the collected data in order to visually check that it is consistent.

45Basic knowledge of R, Python or other data processing tools or languages is needed in order to deal with the presented data.In, particular, in R, in order to create a dataframe representing the data for one of the videos, a command such as riak < -subset(dump, video == "riak", select = c ("page_loaded", "rnd_key", "timestamp", "action", "param", "replayID")) may be used (which will subset the records pertaining to the riak video to a dataframe called riak containing the columns page_loaded, rnd_key, timestamp, action, param, and replayID.From this point on, basic R commands can be used to produce graphical representations for each trajectory in the dataset, to try to produce clusters for different trajectories, and so on.

Limitations

46Initial tests included a "keep alive" signal in order to better monitor where the video play head was at every five seconds.After checking that in almost all circumstances it only added non-significant records to the dataset, it was removed.If the data collection was to be replicated in environments with unreliable or untrusted internet connections, reinstating that "keep alive" data is recommended.This "keep alive" signal would also be useful to determine whether "navigated away" events are not being properly detected, or there are other issues preventing the accurate detection of video playblack dropping out for any unknown and currently undetected issues.Also, schemes for more reliable data collection (with strategies to keep data in the client, ping the server and ensure the data has been stored correctly) may be implemented.In general, though, it is to be expected that if online video is used as a learning resource, the available infrastructure should be robust enough so that this kind of measures is not required.Also, no provision has been made to check whether users are using different video playback speeds.There is almost no evidence in the dataset that students change playback speed (this can be inferred from consecutive data points in the dataset), but it would be interesting to check for those changes if data were to be collected in other environments.Different strategies can be used to do so, including both detecting the change of playback speed event and the al-ready mentioned "keep alive" signal (measuring the differences in playhead position at regular intervals to independently calculate playback speed).

47Also, attention must be paid to the fact that timestamps are generated locally in the browsers of users accessing the webpages.While this is infrequent, this may result in erroneous timestamps.For the purpose of our work timestamps are only used in a relative manner (that is, only the difference between the initial timestamp and subsequent ones in a session are of interest), so no further measures have been taken in order to ensure accurate timestamps.If this was needed, it may be of interest to generate a second timestamp on the server side.Also, because of the sequential nature of the stored data, timestamps inaccurate to a big degree (days) should be easy to detect in the data.No such timestamps have been detected in the present dataset.

48table MySQL/MariaDB database.Its fields are as follows:

49Description: It contains an (autoincrementing) identifier for each record in the table.It is an unsigned long integer.• Initial timestamp Column name: timestamp_inicial Type: varchar(255) NOT NULL Description: It contains the timestamp of the moment in which the browser loads the web page.It is generated in the browser (using the JavaScript command sequence var t_ini = new Date(); t_ini.setTime(Date.now())

Table 1

50[ 19 ]lational database videos content descriptions and URLs.Transcriptions and translations for videos marked with ( * ) have been created by a company offering said services.The rest of transcriptions have been created by using Whisper[ 19 ].

Table 2

51[ 19 ]onal database videos content descriptions and URLs.Transcriptions and translations for videos marked with ( * ) have been created by a company offering said services.The rest of transcriptions have been created by using Whisper[ 19 ].

Table 3

52Statistics videos content description.All videos available at http://cimanet.uoc.edu/UOCEstadistica2 .Transcriptions and translations for videos marked with (

53[ 19 ]ve been created by a company offering said services.The rest of transcriptions have been created by using Whisper[ 19 ].Video identifier Description estadistica1 ( * ) Normal distribution fundamentals.Catalan language estadistica2Normal distribution advanced operations.Catalan language estadistica3

Table 4

54Numerical summary for videos in the dataset.

Table 5 A

55fragment of the dump.csvfile.

참고문헌 5건

  1. Effective textile quality processing and an accurate inspection system using the advanced deep learning technique Textile Research Journal · SAGE Publishing · 2019 10.1177/0040517519884124
  2. Unsupervised textile defect detection using convolutional neural networks Applied Soft Computing · Elsevier BV · 2021 10.1016/j.asoc.2021.107913
  3. Textile defect detection using multilevel and attentional deep learning network (MLMA-Net) Textile Research Journal · SAGE Publishing · 2022 10.1177/00405175211073773
  4. Colour‐patterned fabric‐defect detection using unsupervised and memorial defect‐free features Coloration Technology · Wiley · 2022 10.1111/cote.12624
  5. Original and processed dataset of Batavia and Sarga woven fabric images Datasets · 2025 10.36443/10259/9965