기본 정보
- 저자
- DOI
- 10.1016/j.mex.2024.102866
- 저널
- MethodsX
- 발행년도
- 2024
- 발행기관
- Elsevier BV
- 피인용수
- 3
- 라이선스
- cc-by-nc-nd
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1016/j.mex.2024.102866
- 토픽
- Color Science and Applications
- OpenAlex ID
- W4400866301
평가 내용
- 관련도
- 사업분야
- 패션 · (24) 패션(코오롱FnC)
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '패션 > 패션(코오롱FnC)' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 22,015자
본문 펼치기
섹션 본문 50문단 · 21,244자
(제목 없음)
2Red-green color blindness is the most common type and is determined by the 23rd chromosome, known as the sex chromosome, which determines the sex of a child.Research has shown that males are more likely to be affected by this condition compared to females, as the gene responsible for color blindness is carried by the X chromosome.Both X chromosomes need to be mutated for a female to be color blind.Additionally, if a mother is color blind or a carrier of the color blindness gene, there is an increased likelihood of having color blind children.For example, a color blind father and a non-color blind mother may have non-color blind sons and color blind carrier daughters, while a non-color blind father and a color blind mother may have color blind sons and color blind carrier daughters.
3As color blindness is a genetic disease, there is currently no cure.While it is not a life-threatening disease, it does impact daily activities such as identifying colors, reading traffic lights, comprehending educational materials, participating in color-dependent activities and even expressing themselves artistically.Moreover, they often require assistance when shopping, particularly in environments like shopping centres with numerous color options [ 4 , 5 ]and products [ 6,7 ].
4To address this issue, this paper focuses on the following research problems:
51. Shirts in shopping centres always come in heaps.
62. True color of an object is often affected by the lighting around.
73. Outfits are very dependent on factors.
8Hu et al. [ 8 ] proposed a lightweight target detection network for vehicle color recognition by improving the YOLOv3 algorithm model.The main changes for the improvement are replacing the original YOLOv3 backbone network Darknet-53 for feature extraction with the lightweight MobileNetv2, which has the ability to depth reduce the network.Josue et al. [ 9 ] introduced a new method to detect and translate hand gestures of Mexican sign language.The color segmentation is done using HSV space of color, followed by segmenting the hands and the face.In [ 10 ] a new network structure named Multiscale Comprehensive Feature Fusion Convolutional Neural Network (MCFF-CNN) is introduced for the color feature extraction.The vehicle's color recognition work is done by extracting the deep color features of the vehicles, followed by classifying them with the support vector machine (SVM) classifier to obtain the final color recognition results.
9A vehicle color recognition method using a lightweight convolutional neural network is proposed in [ 11 ].Vehicles' features extraction which includes eight color categories is done by using CNN network architecture.This method is improved by using Spatial Pyramid Matching (SPM) strategy, a method that embeds spatial information into feature vectors.
• Color Model
10In [ 12 ], a new model in fruit recognition named as perceptual color on semantic template (PCoST) is proposed.The work is done by collecting RGB images of various fruits, then performing clustering based on their perceptual color to categorize the color, texture and shape.Lastly, color recognition is conducted based on the clustering result.In this paper, Hue, Saturation, Value (HSV) color space is used for the color naming process as it is the most natural color space in visualization.
11Kuang [ 13 ] recognized and analyzed the color and pattern of shadow puppet with clustering algorithms.The methodology of this paper is first smoothing the image using the RTV algorithm in order to preserve the main structures.Later, the color image is converted from RGB color space to HSV color space, and lastly using K-means clustering to obtain the result.The result shows that there is a significant improvement in accuracy of this method of segmentation.
12In [ 14 ], color image segmentation is done by mainly focusing on thresholding.Comparison of the mean processing time of PC implementation and ADAS development board implementation on three different color models (RGB, HSV, YUV) is done.The result shows that HSV format filtering is the slowest because each pixel requires two limit checks.
13Tong et al. [ 15 ] presented a simple and effective color detection algorithm.The difference between maximum and minimum values of the RGB values of each pixel is calculated in order to segment the vehicle accurately whereby shadows or windows of the vehicles are also removed.Subsequently, the color of the vehicle is recognized using the H value after converting RGB color space into HSV color space.This method provides accurate and effective results as the color of the vehicle is neither affected by the influence of the vehicle's shadow nor window glass.
14All four types of decision problematics can be considered valid for the recommendation problem:
15• Choosing and recommending one or more items as more suitable for a particular user;
16• Classifying (or sorting, as Roy defines it) all available items into pre-defined categories according to their suitability, e.g., into "recommended for purchase " and "recommended for viewing " items; • Ranking all available items from the most suitable to the least suitable ones for a particular user, and present a ranked list of recommendations to the user; • Describing how suitable a particular item is for a specific user, based on how it is evaluated upon each criterion.It corresponds to a full analysis of the item's performance upon all criteria, illustrating the suitability of an item for the specific user (that is, in a personalized manner that aims to help the user make a selection).You can include figures, tables, videos -anything you feel will help others reproduce your method.
Table 1
17Summary of physical parameters.
• Color Blindness Mobile Applications
18There are three existing mobile applications discovered, which are Color Blind Pal, NowYouSee, and Color Mate.Color Blind Pal offers a simple user interface and the ability to visualize the world of color-blind individuals.However, it has a limitation in terms of incorrect color recognition.NowYouSee also offers a simple user interface and provides a visual representation of the colorblind experience.However, similar to Color Blind Pal, it suffers from incorrect color recognition.Additionally, the full version of the application requires a purchase, limiting its accessibility to some users.Color Mate, on the other hand, offers a simple user interface but, similar to the other two applications, has the drawback of incorrect color recognition.Additionally, utilizing the full functionalities of Color Mate also requires a purchase.Table 1 provides a comparison of the three color-blind assistance applications.
19In summary, while these applications provide a simple user interface and the ability to visualize color-blindness, they all exhibit limitations in terms of color recognition accuracy.Furthermore, the requirement of purchasing the full versions of NowYouSee and Color Mate may pose challenges for some users.There is a need for further development and improvement to provide more accurate color recognition and ensure greater accessibility for color-blind individuals.
• Proposed Method
20A flowchart (as depicted in Fig. 1 ) detailing the step-by-step process of the prototype implementation is provided as an accompanying visual representation offering a comprehensive overview of the project's workflow, showcasing the logical progression of each stage.
1) Data Collection
21We are utilizing two datasets for the color evaluations.The datasets are described as follows.
22• Dataset 1
23The dataset used in this project is manually acquired as there is no suitable pre-existing dataset available.It consists of 11 colors, including red, blue, green, yellow, orange, brown, pink, purple, black, grey, and white.The selection of these specific colors aims to mitigate potential confusion stemming from excessively precise or specialized color nomenclature.To ensure accurate extraction of HSV values across all colors, each color has at least 10 carefully selected PNG images that exhibit plain color compositions.The images follow a standardized naming convention ( Fig. 2 (a)), and their HSV values are extracted using the Python CV2 library.The hue (h) value is represented in a 360-degree range, while the saturation and value (s and v) values are set to 100 %.The extracted HSV values, along with the corresponding color names, are recorded in a CSV file named "training.csv''for training the machine learning models in the next phase.
• Dataset 2
24The process of collecting data for matching colors involves extensive research and exploration of various fashion resources.A comprehensive list of color combinations is compiled based on findings from fashion lookbooks, magazines, online fashion communities, influencers, and personal wardrobe analysis.The collected data is stored in a CSV file named "suggestions.csv," which includes color combinations and their corresponding categories ( Fig. 2 (b)).The dataset covers a wide range of combinations, allowing the application to provide users with suitable suggestions based on recognized colors.
252) Color Classification using Machine Learning Models Given the manual data collection process with specific constraints, the need for data cleaning and exploratory data analysis (EDA) is rendered unnecessary.In order to identify the most effective technique for color recognition, a total of 5 machine learning models are employed, namely K-Nearest Neighbor (KNN), Naive Bayes (NB), Random Forest (RF), Logistic Regression (LR), and Support Vector Machine (SVM).To provide a visual representation of the project workflow, a flowchart has been prepared, as depicted in Fig. 3 .The utilization of these models will be elaborated upon in the following discussion.The initial machine learning model employed for predicting academic success is k-Nearest Neighbors [ 16 , 17 ].Initially, the column 'color' is dropped from the dataset.Then, utilizing the hue, saturation and value as the features, the dataset is split into a ratio of 2:8 with a random state set to 7. To determine the optimal value for the parameter 'n_neighbors', a for loop ranging from 1 to 20 is implemented.The resulting scatter plot assists in identifying the best value for 'n_neighbors' which is determined to be 11, as it yields the highest accuracy.Consequently, employing a value of 11 for 'n_neighbors', the accuracy achieved by the k-Nearest Neighbors model amounts to 85 % ( Fig. 4 (a)).
26To optimize the hyperparameters for the k-Nearest Neighbors model, GridSearchCV is employed.The parameters under consideration, leaf size and n_neighbors, are set to a range of 1 to 20, while p is set to a range of 1 to 2. Following the execution of GridSearchCV, the optimal values for the hyperparameters are determined as follows: leaf size of 1, n_neighbors of 1, and p value of 1. Surprisingly, despite the hyperparameter tuning, the accuracy dropped to 80 % ( Fig. 4 (b)).
• Naïve Bayes (NB)
27The next machine learning model used to predict the shirt color is Naive Bayes [ 18 , 19 ].Initially, the column 'color' is dropped from the dataset.Then, utilizing the hue, saturation and value as the features, the dataset is split into a ratio of 2:8 with a random state set to 7. The resulting accuracy achieved by the Naive Bayes model amounts to 65 %, as depicted in Fig. 5 (a).
28To optimize the hyperparameters for Naive Bayes, GridSearchCV is employed.The sole parameter that can be tuned in this model is 'var_smoothing'.Utilizing the function 'np.logspace', which generates numbers evenly spaced on a logarithmic scale, a range of values from 0 to − 9 is explored, generating a total of 100 samples.Following the execution of GridSearchCV, the best value obtained for 'var_smoothing' is 0.001873817422860383.Surprisingly, the accuracy dropped to 60 %, both before and after the hyperparameter tuning process, as illustrated in Fig. 5 (b).
• Random Forest (RF)
29Another machine learning model employed is the Random Forest model [ 20 ].Initially, the column 'color' is dropped from the dataset.Then, utilizing the hue, saturation and value as the features, the dataset is split into a ratio of 2:8 with a random state set to 7. The resulting accuracy achieved by the Random Forest model amounts to 80 %, as depicted in Fig. 6 (a).
30To optimize the hyperparameters for Random Forest, GridSearchCV is employed.The sole parameters that can be tuned in this model are 'n_estimators', 'max_depth', 'min_samples_leaf', 'max_features', and 'random_state'.Following the execution of Grid-SearchCV, the optimal values obtained for these parameters are as follows: 'n_estimators' of 200, 'max_depth' of, 'min_samples_leaf' of 0.1, 'max_features' of log2, and 'random_state' of 1. Surprisingly, the accuracy after hyperparameter tuning decreases to 40 %, as observed in Fig. 6 (b), when compared to the accuracy achieved prior to hyperparameter tuning.
• Logistic Regression (RF)
31The other machine learning model employed is the Logistic Regression model [ 21 ].Initially, the column 'color' is dropped from the dataset.Then, utilizing the hue, saturation and value as the features, the dataset is split into a ratio of 2:8 with a random state set to 7. The resulting accuracy achieved by the Logistic Regression model amounts to 40 %, as depicted in Fig. 7 (a).To optimize the hyperparameters for Logistic Regression, GridSearchCV is employed.The sole parameters that can be tuned in this model are 'penalty', 'C' and 'solver'.Following the execution of GridSearchCV, the optimal values obtained for these parameters are 'C' of 1.0, 'penalty' of 12, and 'solver' of newton-cg.After performing hyperparameter tuning, the accuracy remains the same, which is 10 % ( Fig. 7 (b)).
• Support Vector Machine (SVM)
32The last machine learning model employed is the Support Vector Machine model [ 22 ].Initially, the column 'color' is dropped from the dataset.Then, utilizing the hue, saturation and value as the features, the dataset is split into a ratio of 2:8 with a random state set to 7. The resulting accuracy achieved by the Support Vector Machine model amounts to 75 %, as depicted in Fig. 8 (a).
33To optimize the hyperparameters for Support Vector Machine, GridSearchCV is employed.The sole parameters that can be tuned in this model are 'C', 'gamma' and 'kernel'.Following the execution of GridSearchCV, the optimal values obtained for these parameters are 'C' of 10, 'gamma' of 0.0001, and 'kernel' of rbf.After performing hyperparameter tuning, the accuracy is 80 % which improved by 5 % ( Fig. 8 (b)).
343) Web Application Development The highest-performing classification model (KNN) is selected and fitted with the training data.To avoid repetitive computations, the fitted data is saved in a pickle (pkl) file which serves as a crucial input for the web application, improving the system's efficiency by eliminating the need for retraining the model.Simultaneously, a web application is developed using Python and deployed on Streamlit via GitHub.This combination of tools provided a robust platform for hosting the color recognition functionality.Streamlit, as an open-source framework, facilitated the creation of an intuitive and interactive user interface, while GitHub served as a reliable hosting environment, ensuring easy accessibility of the web application.fromany device with an internet connection.
Model evaluation
35Table 2 summarizes the performance of five classification models: K-Nearest Neighbors (KNN), Naive Bayes (NB), Random Forest (RF), Logistic Regression (LR), and Support Vector Machine (SVM).The accuracy scores before and after hyperparameter tuning are presented.Before tuning, KNN achieved an accuracy of 0.85, which decreased to 0.8 after tuning.NB has an initial accuracy of 0.65, which dropped to 0.6 after tuning.RF started with an accuracy of 0.8, but experienced a significant decrease to 0.4 after hyperparameter tuning.LR maintained a consistent accuracy of 0.4 before and after tuning.SVM has an accuracy of 0.75 before tuning, which increased to 0.8 after tuning.
36The decrease in accuracy for some models can be attributed to the impact of hyperparameter tuning.While tuning aims to improve model performance, improper adjustment of hyperparameters can lead to suboptimal results.Aggressive tuning in RF might have caused overfitting, resulting in a significant drop in accuracy.Similarly, changes in parameter values for KNN and NB might have adversely affected their classification performance.However, the accuracy of LR remained unchanged, indicating that hyperparameter tuning has minimal impact in this case.It is crucial to carefully consider and experiment with hyperparameters to achieve the desired accuracy in classification models.
User evaluation
37The user interface of this application is designed to be smooth and transparent, providing a seamless experience.It consists of several components, including a main area for receiving the user's input image and displaying the results of the color recognition process.In addition to this main area, there is also a sidebar that offers additional information about colors, fashion tips and trends, the psychology of colors, and more.This sidebar serves as a valuable resource for users to explore and learn about various aspects related to colors and fashion.
38Users are given two options to input an image, that is either by capturing it using the camera function or by uploading an existing image.Once an image is provided, it is displayed on the screen.At this point, users can click on any point of the displayed image to retrieve the corresponding color name.This interaction can be repeated endlessly until the user decides to close and exit the web application.
39Within the display screen, along with the color name for the selected point, a brief and general suggestion of matching colors will also be provided.This feature enhances the user's understanding and provides additional context for the identified colors.It is important to note that the suggestions are designed to be accessible for color-blind users, avoiding fancy or overly colorful descriptions that may not be distinguishable to them.
40To assist with navigation, a dot will be placed on the image to indicate the specific location that the user clicked.This helps users remember which part of the image they selected for color identification.The suggestions provided are meant to serve as general guidance and inspiration.Therefore, a "Important Notice " section is added to remind users that the appearance of an outfit is influenced by multiple elements, and the shades and brightness of colors can significantly impact the overall look and feel.Experimentation and seeking advice from others can contribute to more accurate and satisfying results.
41The evaluation of the Shirt Color Recognition Web Application gathered feedback through a survey google form from 30 participants with and without color blindness.The majority of participants found the application to be user-friendly, useful, and accurate in color recognition.They suggest improvement in terms of enhancing color descriptions and adding a history feature.Technical issues are minimal, and the majority of participants highly recommended the application.Overall, the survey feedback played a crucial role in guiding future development and refinement of the application, ensuring it meets the needs of users and provides an effective solution for color recognition in clothing selection.
42In summary, significant accomplishments have been achieved throughout this paper.The evaluation of five classification models identified KNN as the highest-performing model, with an accuracy of 85 %.Additionally, this project successfully developed a web application to aid color-blind individuals in recognizing shirt colors and making informed clothing choices.By implementing advanced algorithms and techniques, such as utilizing the HSV color space, the application achieved improved accuracy in color detection, mitigating the impact of lighting variations.The paper addressed the identified research problems, offering a user-friendly platform to enhance the shopping experience and empower color-blind individuals in choosing clothing items confidently and independently.
Limitations
43Future work can focus on expanding the application to recognize and recommend colors in other clothing items, integrating it with an online shopping platform for direct purchasing, and improving the accuracy and speed of color recognition algorithms using deep learning models and larger datasets.Overall, continuous enhancement of the user experience, expanding functionality, and exploring new techniques and technologies will further assist color-blind individuals in their clothing selection process.
Fig. 1 .
44Fig. 1.FMM with multi-criteria rating dependency structure.
Fig. 2 .Fig. 3 .
45Fig. 2. (a) Example dataset collected (b) Example matching colors dataset collected.
Fig. 4 .
46Fig. 4. (a) Classification report for KNN model (b) Classification report for KNN model after hyperparameter tuning.
Fig. 5 .
47Fig. 5. (a) Classification report for NB model (b) Classification report for NB model after hyperparameter tuning.
Fig. 6 .
48Fig. 6.(a) Classification report for RF model (b) Classification report for RF model after hyperparameter tuning.
Fig. 7 .
49Fig. 7. (a) Classification report for LR model (b) Classification report for LR model after hyperparameter tuning.
Fig. 8 .
50Fig. 8. (a) Classification report for SVM model (b) Classification report for SVM model after hyperparameter tuning.
Table 2
51Comparison on various ML models.
참고문헌 17건
- Fill Up Your Senses: A Theory of Self-Worth Restoration through High-Intensity Sensory Consumption Journal of Consumer Research · Oxford University Press · 2017 10.1093/jcr/ucx074
- Vehicle color recognition using Multiple-Layer Feature Representations of lightweight convolutional neural network Signal Processing · Elsevier BV · 2018 10.1016/j.sigpro.2018.01.021
- MCFF-CNN: Multiscale comprehensive feature fusion convolutional neural network for vehicle color recognition based on residual learning Neurocomputing · Elsevier BV · 2019 10.1016/j.neucom.2018.02.111
- Integrating semantic features in fruit recognition based on perceptual color and semantic template Information Processing in Agriculture · Elsevier BV · 2021 10.1016/j.inpa.2021.02.004
- Mexican sign language segmentation using color based neuronal networks to detect the individual skin color Expert Systems with Applications · Elsevier BV · 2021 10.1016/j.eswa.2021.115295
- 2003 IEEE International Conference on Acoustics, Speech, and Signal Processing ICASSP '03 2003 IEEE International Conference on Acoustics, Speech, and Signal Processing, 2003. Proceedings. (ICASSP '03). · 2003 10.1109/icassp.2003.1202277
- 2022 2nd International Conference on Consumer Electronics and Computer Engineering (ICCECE) 2022 2nd International Conference on Consumer Electronics and Computer Engineering (ICCECE) · 2022 10.1109/iccece54139.2022
- 2022 IEEE Zooming Innovation in Consumer Technologies Conference (ZINC) 2022 10.1109/zinc55034.2022
- HARNESSING ROMANCE: The effect of exposure to romance-themed attractions on tourists’ impulsive buying Tourism Management · Elsevier BV · 2023 10.1016/j.tourman.2022.104717
- Data-efficient crop pest recognition based on KNN distance entropy Sustainable Computing Informatics and Systems · Elsevier BV · 2023 10.1016/j.suscom.2023.100860
- Elderly and Smartphone Apps: Case Study with Lightweight MySejahtera Journal of Informatics and Web Engineering · MUME00 · 2023 10.33093/jiwe.2023.2.1.2
- Humanizing geoscience education research through participant-driven visual representation Journal of Geoscience Education · Taylor & Francis · 2023 10.1080/10899995.2023.2193551
- 2023 International Conference on Sustainable Computing and Data Communication Systems (ICSCDS) 2023 10.1109/icscds56580.2023
- Multiclass Apple Varieties Classification Using Machine Learning with Histogram of Oriented Gradient and Color Moments Applied Sciences · Multidisciplinary Digital Publishing Institute · 2023 10.3390/app13137682
- 2023 5th International Conference on Natural Language Processing (ICNLP) 2023 10.1109/icnlp58431.2023
- Facial Skin Analysis in Malaysians using YOLOv5: A Deep Learning Perspective Journal of Informatics and Web Engineering · MUME00 · 2024 10.33093/jiwe.2023.3.2.1
- 2024 IEEE 7th International Conference on Electronic Information and Communication Technology (ICEICT) 2024 10.1109/iceict61637.2024