Abstract
In this investigation, an image dataset featuring starch-adulterated turmeric was meticulously created. Various concentrations of starch, ranging from 0 to 100%, were blended with turmeric powder and documented using a digital camera. The study proposed a hybrid methodology, amalgamating a modified pre-trained Transfer Learning (TL) deep convolutional neural network (DCNN) known as DenseNet201 with a feature selection technique and machine learning (ML) classifiers. The basic DenseNet201 model was modified by adding a few layers. This modified DenseNet201 functioned as a feature extractor, and optimal attributes were chosen using the ExtraTreeClassifier (ETC) method from these extracted features. Diverse ML models were employed to forecast starch concentration levels based on the ETC-selected features. The investigation encompassed the development of both classification and regression models for starch prediction. The Grad-CAM visualization method was applied to visualize class activation maps.
The proposed system (modified Densenet201-ETC), integrating Logistic Regression (LR) and Decision Tree Classifier (DTC), demonstrated remarkable results: 100% accuracy, an Area Under The Curve-Receiver Operating Characteristics (AUC-ROC) score of 1.0, and a 98.3% average accuracy over the 5-fold cross-validation for the classification method. The regression method, implemented with K-Nearest Neighbors Regressor (KNNR), achieved a coefficient of determination (R2) of 0.97, root mean square error (RMSE) of 0.65, leave-one-out cross-validation (LOOCV)-R2 of 0.90, and an average LOOCV-RMSE of 1.09. Moreover, the performance of five existing TL models, DenseNet201, Xception, ResNet50, InceptionV3, and VGG16, compared with the proposed method.
Similar content being viewed by others
Data availability
Data will be made available on request.
References
Lanjewar MG, Morajkar PP, Parab J (2022) Detection of tartrazine colored rice flour adulteration in turmeric from multi-spectral images on smartphone using convolutional neural network deployed on PaaS cloud. Multimed Tools Appl 81:16537–16562. https://doi.org/10.1007/s11042-022-12392-3
Amani M, Kakooei M, Moghimi A et al (2020) Application of google earth engine cloud computing platform, sentinel imagery, and neural networks for crop mapping in canada. Remote Sens 12:3561. https://doi.org/10.3390/rs12213561
Dhakal S, Chao K, Schmidt W et al (2016) Evaluation of turmeric powder adulterated with metanil yellow using ft-raman and ft-ir spectroscopy. Foods 5:36. https://doi.org/10.3390/foods5020036
Di Anibal CV, Odena M, Ruisánchez I, Callao MP (2009) Determining the adulteration of spices with Sudan I-II-II-IV dyes by UV–visible spectroscopy and multivariate classification techniques. Talanta 79:887–892. https://doi.org/10.1016/j.talanta.2009.05.023
Parvathy VA, Swetha VP, Sheeja TE, Sasikumar B (2015) Detection of plant-based adulterants in turmeric powder using DNA barcoding. Pharm Biol 53:1774–1779. https://doi.org/10.3109/13880209.2015.1005756
Chen L, Hu J, Zhang W et al (2015) Simultaneous determination of nine banned azo dyes in foodstuffs and beverages by high-performance capillary electrophoresis. Food Anal Methods 8:1903–1910. https://doi.org/10.1007/s12161-014-0074-6
Ashok V, Agrawal N, Durgbanshi A et al (2015) A novel micellar chromatographic procedure for the determination of metanil yellow in foodstuffs. Anal Methods 7:9324–9330. https://doi.org/10.1039/C5AY02377G
Fuh M (2002) Determination of sulphonated azo dyes in food by ion-pair liquid chromatography with photodiode array and electrospray mass spectrometry detection. Talanta 56:663–671. https://doi.org/10.1016/S0039-9140(01)00625-7
Zhao S, Yin J, Zhang J et al (2012) Determination of 23 dyes in chili powder and paste by high-performance liquid chromatography–electrospray ionization tandem mass spectrometry. Food Anal Methods 5:1018–1026. https://doi.org/10.1007/s12161-011-9337-7
Dixit S, Purshottam SK, Khanna SK, Das M (2009) Surveillance of the quality of turmeric powders from city markets of India on the basis of curcumin content and the presence of extraneous colours. Food Addit Contam: Part A 26:1227–1231. https://doi.org/10.1080/02652030903016586
Richardson PIC, Muhamadali H, Ellis DI, Goodacre R (2019) Rapid quantification of the adulteration of fresh coconut water by dilution and sugars using Raman spectroscopy and chemometrics. Food Chem 272:157–164. https://doi.org/10.1016/j.foodchem.2018.08.038
Dias MI, Sousa MJ, Alves RC, Ferreira ICFR (2016) Exploring plant tissue culture to improve the production of phenolic compounds: A review. Ind Crops Prod 82:9–22. https://doi.org/10.1016/j.indcrop.2015.12.016
Goyal K, Kumar P, Verma K (2022) Food adulteration detection using artificial intelligence: a systematic review. Arch Computat Methods Eng 29:397–426. https://doi.org/10.1007/s11831-021-09600-y
Lanjewar MG, Panchbhai KG (2024) Enhancing fish freshness prediction using NasNet-LSTM. J Food Compost Anal 127:105945. https://doi.org/10.1016/j.jfca.2023.105945
Rateni G, Dario P, Cavallo F (2017) Smartphone-based food diagnostic technologies: A review. Sensors 17:1453. https://doi.org/10.3390/s17061453
Calle JLP, Ferreiro-González M, Ruiz-Rodríguez A et al (2022) Detection of adulterations in fruit juices using machine learning methods over FT-IR spectroscopic data. Agronomy 12:683. https://doi.org/10.3390/agronomy12030683
Rady AM, Adedeji A, Watson NJ (2021) Feasibility of utilizing color imaging and machine learning for adulteration detection in minced meat. J Agric Food Res 6:100251. https://doi.org/10.1016/j.jafr.2021.100251
Setiadi IC, Hatta AM, Koentjoro S et al (2022) Adulteration detection in minced beef using low-cost color imaging system coupled with deep neural network. Front Sustain Food Syst 6:1073969. https://doi.org/10.3389/fsufs.2022.1073969
Macêdo IYLD, Machado FB, Ramos GS et al (2021) Starch adulteration in turmeric samples through multivariate analysis with infrared spectroscopy. Food Chem 340:127899. https://doi.org/10.1016/j.foodchem.2020.127899
Zhong J, Qin X (2016) Rapid Quantitative Analysis of Corn Starch Adulteration in Konjac Glucomannan by Chemometrics-Assisted FT-NIR Spectroscopy. Food Anal Methods 9:61–67. https://doi.org/10.1007/s12161-015-0176-9
Kar S, Tudu B, Jana A, Bandyopadhyay R (2019) FT-NIR spectroscopy coupled with multivariate analysis for detection of starch adulteration in turmeric powder. Food Addit Contam: Part A 36:863–875. https://doi.org/10.1080/19440049.2019.1600746
Ranjan R, Kumar N, Kiranmayee AH, Panchariya PC (2021) Application of handheld nir spectroscopy for detection of adulteration in turmeric powder. 2021 7th International Conference on Advanced Computing and Communication Systems (ICACCS). IEEE, Coimbatore, India, pp 1238–1241
Thangavel K, Dhivya K (2019) Determination of curcumin, starch and moisture content in turmeric by Fourier transform near infrared spectroscopy (Ft-nir). Eng Agric Environ Food 12:264–269. https://doi.org/10.1016/j.eaef.2019.02.003
Hashemi-Nasab FS, Talebian S, Parastar H (2023) Multiple adulterants detection in turmeric powder using Vis-SWNIR hyperspectral imaging followed by multivariate curve resolution and classification techniques. Microchem J 185:108203. https://doi.org/10.1016/j.microc.2022.108203
Sarkar T, Choudhury T, Bansal N et al (2023) Artificial intelligence aided adulteration detection and quantification for red chilli powder. Food Anal Methods 16:721–748. https://doi.org/10.1007/s12161-023-02445-0
Pourreza A, Pourreza H, Abbaspour-Fard M-H, Sadrnia H (2012) Identification of nine Iranian wheat seed varieties by textural analysis with image processing. Comput Electron Agric 83:102–108. https://doi.org/10.1016/j.compag.2012.02.005
Ropodi AI, Pavlidis DE, Mohareb F et al (2015) Multispectral image analysis approach to detect adulteration of beef and pork in raw meats. Food Res Int 67:12–18. https://doi.org/10.1016/j.foodres.2014.10.032
Kamruzzaman M, Makino Y, Oshita S (2016) Rapid and non-destructive detection of chicken adulteration in minced beef using visible near-infrared hyperspectral imaging and machine learning. J Food Eng 170:8–15. https://doi.org/10.1016/j.jfoodeng.2015.08.023
Lim DK, Long NP, Mo C et al (2017) Combination of mass spectrometry-based targeted lipidomics and supervised machine learning algorithms in detecting adulterated admixtures of white rice. Food Res Int 100:814–821. https://doi.org/10.1016/j.foodres.2017.08.006
Kobek JA (2017) Vision based model for identification of adulterants in milk. Strathmore University. https://su-plus.strathmore.edu/handle/11071/5652
Fayyazi S, Abbaspour-Fard MH, Rohani A et al (2017) Identification and classification of three iranian rice varieties in mixed bulks using image processing and mlp neural network. Int J Food Eng 13. https://doi.org/10.1515/ijfe-2016-0121
Torrence R, Wright R, Conway R (2004) Identification of starch granules using image analysis and multivariate techniques. J Archaeol Sci 31:519–532. https://doi.org/10.1016/j.jas.2003.09.014
Wang F, Wang C, Song S et al (2021) Study on starch content detection and visualization of potato based on hyperspectral imaging. Food Sci Nutr 9:4420–4430. https://doi.org/10.1002/fsn3.2415
Lanjewar MG, Parate RK, Wakodikar R, Parab JS (2023) Detection of Starch in Turmeric Using Machine Learning Methods. In: Kumar S, Sharma H, Balachandran K et al (eds) Third Congress on Intelligent Systems. Springer Nature Singapore, Singapore, pp 117–126
Lanjewar MG, Morajkar PP, Parab JS (2023) Hybrid method for accurate starch estimation in adulterated turmeric using Vis-NIR spectroscopy. Food Addit Contam: Part A 40:1131–1146. https://doi.org/10.1080/19440049.2023.2241557
Lanjewar MG, Morajkar PP, Parab JS (2024) Portable system to detect starch adulteration in turmeric using NIR spectroscopy. Food Control 155:110095. https://doi.org/10.1016/j.foodcont.2023.110095
Fekri-Ershad S, Alsaffar MF (2023) Developing a Tuned Three-Layer Perceptron Fed with Trained Deep Convolutional Neural Networks for Cervical Cancer Diagnosis. Diagnostics 13:686. https://doi.org/10.3390/diagnostics13040686
Lanjewar MG, Morajkar P, Payaswini P (2023) Modified transfer learning frameworks to identify potato leaf diseases. Multimed Tools Appl. https://doi.org/10.1007/s11042-023-17610-0
Lanjewar MG, Panchbhai KG (2023) Convolutional neural network based tea leaf disease prediction system on smart phone using paas cloud. Neural Comput Applic 35:2755–2771. https://doi.org/10.1007/s00521-022-07743-y
(2017) Logistic Regression in Machine Learning. In: GeeksforGeeks. https://www.geeksforgeeks.org/understanding-logistic-regression/. Accessed 4 Dec 2023
Lanjewar MG, Parab JS, Shaikh AY, Sequeira M (2023) CNN with machine learning approaches using ExtraTreesClassifier and MRMR feature selection techniques to detect liver diseases on cloud. Cluster Comput 26:3657–3672. https://doi.org/10.1007/s10586-022-03752-7
Hou C, Li Z, Tang Z et al (2022) Multiple instance relation graph reasoning for cross-modal hash retrieval. Knowl-Based Syst 256:109891. https://doi.org/10.1016/j.knosys.2022.109891
Lanjewar MG, Panchbhai KG, Charanarur P (2023) Lung cancer detection from CT scans using modified DenseNet with feature selection methods and ML classifiers. Expert Syst Appl 224:119961. https://doi.org/10.1016/j.eswa.2023.119961
Zhu Q, Li Z, Kuang W, Ma H (2023) A multichannel location-aware interaction network for visual classification. Appl Intell 53:23049–23066. https://doi.org/10.1007/s10489-023-04734-x
Lanjewar MG, Panchbhai KG, Patle LB (2024) Fusion of transfer learning models with LSTM for detection of breast cancer using ultrasound images. Comput Biol Med 169:107914. https://doi.org/10.1016/j.compbiomed.2023.107914
Li W, Li Z, Yang X, Ma H (2023) Causal-ViT: Robust Vision Transformer by causal intervention. Eng Appl Artif Intell 126:107123. https://doi.org/10.1016/j.engappai.2023.107123
Lanjewar MG, Shaikh AY, Parab J (2023) Cloud-based COVID-19 disease prediction system from X-Ray images using convolutional neural network on smartphone. Multimed Tools Appl 82:29883–29912. https://doi.org/10.1007/s11042-022-14232-w
Funding
No funding was received for this study.
Author information
Authors and Affiliations
Corresponding authors
Ethics declarations
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.
All other authors have no conflicts of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Lanjewar, M.G., Asolkar, S. . & Parab, J.S. Hybrid methods for detection of starch in adulterated turmeric from colour images. Multimed Tools Appl (2024). https://doi.org/10.1007/s11042-024-18195-y
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s11042-024-18195-y