Abstract
Nowadays, many people are suffered from obesity, they tend to maintain their body weight by consuming a sufficient number of calories in their routine life. In this research, a novel Deep Learning-based Food Item Classification (DEEPFIC) approach has been proposed to categorize the different food items from the dataset with their calorie values. Initially, the images are processed using the sigmoid stretching method to enhance the image quality and remove the noises. Consequently, the pre-processed images are segmented using Improved Watershed Segmentation (IWS2) algorithm. RNN is used to extract features like shape, size, textures, and color. The extracted features are then normalized using the dragonfly technique. The Bi-LSTM is utilized to classify food products based on these pertinent aspects. The efficiency of the proposed method was calculated in terms of specificity, precision, accuracy, and recall F-measure. The proposed method improves the overall accuracy by 4.99%, 8.72%, and 10.4% better than the existing DCNN, FRCNN, and LSV-SVM methods respectively.
Similar content being viewed by others
Data Availability
Not applicable.
Code availability
Not applicable.
References
Ege, T., Shimoda, W., Yanai, K.: A new large-scale food image segmentation dataset and its application to food calorie estimation based on grains of rice. In Proceedings of the 5th International Workshop on Multimedia Assisted Dietary Management, France, 82–87. (2019) https://doi.org/10.1145/3347448.3357162
Liang, Y., Li, J.: Computer vision-based food calorie estimation: dataset, method, and experiment. 3, 1–7 (2017) https://doi.org/10.48550/arXiv.1705.07632
Ege, T., Ando, Y., Tanno, R., Shimoda, W.: Image-based estimation of real food size for accurate food calorie estimation. In 2019 IEEE Conference on Multimedia Information Processing and Retrieval (MIPR), USA, 274–279 (2019). https://doi.org/10.1109/MIPR.2019.00056
McAllister, P., Zheng, H., Bond, R., Moorhead, A.: Combining deep residual neural network features with supervised machine learning algorithms to classify diverse food image datasets. Comput. Biol. Med. 95, 217–233 (2018). https://doi.org/10.1016/j.compbiomed.2018.02.008
Inunganbi, S., Seal, A., Khanna, P.: Classification of food images through interactive image segmentation. In: Nguyen, N., Hoang, D., Hong, TP., Pham, H., Trawiński, B. (Eds.), Intelligent Information and Database Systems. ACIIDS 2018. Lect. Notes Comput. Sci. Springer, 519–528 (2018). https://doi.org/10.1007/978-3-319-75420-8_49
Metwalli, A. S., Shen, W., Wu, C. Q.: Food image recognition based on densely connected convolutional neural networks. In 2020 International Conference on Artificial Intelligence in Information and Communication (ICAIIC), Japan, 027–032. (2020) https://doi.org/10.1109/ICAIIC48513.2020.9065281
Shen, Z., Shehzad, A., Chen, S., Sun, H.: Machine learning based approach on food recognition and nutrition estimation. Procedia Comput. Sci. 174, 448–453 (2020). https://doi.org/10.1016/j.procs.2020.06.113
Emmanuel, W.S., Minija, S.J.: Fuzzy clustering and Whale-based neural network to food recognition and calorie estimation for daily dietary assessment. Sādhanā 43, 1–19 (2018). https://doi.org/10.1007/s12046-018-0865-3
Kumar, R.D., Julie, E.G., Robinson, Y.H., Vimal, S.: Recognition of food type and calorie estimation using neural network. J. Supercomput. 77, 8172–8193 (2021). https://doi.org/10.1007/s11227-021-03622-w
Turmchokkasam, S., Chamnongthai, K.: The design and implementation of an ingredient-based food calorie estimation system using nutrition knowledge and fusion of brightness and heat information. IEEE Access 6, 46863–46876 (2018). https://doi.org/10.1109/ACCESS.2018.2837046
Rewane, R., Chouragade, P. M.: Food Recognition and Health Monitoring System for Recommending Daily Calorie Intake. In 2019 IEEE International Conference on Electrical, Computer and Communication Technologies (ICECCT), India, 1–5 (2019). https://doi.org/10.1109/ICECCT.2019.8869088
Yunus, R., Arif, O., Afzal, H., Amjad, M.F.: A framework to estimate the nutritional value of food in real time using deep learning techniques. IEEE Access 7, 2643–2652 (2018). https://doi.org/10.1109/ACCESS.2018.2879117
Naritomi, S., Yanai, K.: CalorieCaptorGlass: Food calorie estimation based on actual size using hololens and deep learning. In 2020 IEEE Conference on Virtual Reality and 3D User Interfaces Abstracts and Workshops (VRW), USA, 818–819 (2020) https://doi.org/10.1109/VRW50115.2020.00260
Jeny, A. A., Junayed, M. S., Ahmed, I., Habib, M. T.: FoNet-Local food recognition using deep residual neural networks. In 2019 International Conference on Information Technology (ICIT), India, 184–189 (2019). https://doi.org/10.1109/ICIT48102.2019.00039
Islam, M. T., Siddique, B. N. K., Rahman, S., Jabid, T.: Image recognition with deep learning. In 2018 International conference on intelligent informatics and biomedical sciences (ICIIBMS), Thailand, 106–110 (2018) https://doi.org/10.1109/ICIIBMS.2018.8550021
Nasir, I.M., Bibi, A., Shah, J.H., Khan, M.A., Sharif, M., Iqbal, K., Nam, Y. and Kadry, S.: Deep learning-based classification of fruit diseases: An application for precision agriculture (2021).
Tariq, U., Hussain, N., Nam, Y., Kadry, S.: An integrated deep learning framework for fruits diseases classification. Comput. Mater. Contin 71, 1387–1402 (2022)
Manjunathan, A., Lakshmi, A., Ananthi, S., Ramachandran, A.: Image Processing Based Classification of Energy Sources in Eatables Using Artificial Intelligence. Ann. Rom. Soc. Cell Biol. 1, 7401–7407 (2021). https://www.annalsofrscb.ro/index.php/journal/article/view/2277
Wasif, S.M., Thakery, S., Nagauri, A., Pereira, S.I.: Food calorie estimation using machine learning and image processing. Int. J. Adv. Res. Ideas Innov. Technol. 5, 1627–1630 (2019)
Minija, S.J., Emmanuel, W.S.: Neural network classifier and multiple hypothesis image segmentation for dietary assessment using calorie calculator. Imaging Sci. J. 65, 379–392 (2017). https://doi.org/10.1080/13682199.2017.1356610
Shah, F.A., Khan, M.A., Sharif, M., Tariq, U., Khan, A., Kadry, S. and Thinnukool, O.: A Cascaded design of best features selection for fruit diseases recognition (2021)
Hassam, M., Khan, M.A., Armghan, A., Althubiti, S.A., Alhaisoni, M., Alqahtani, A., Kadry, S., Kim, Y.: A single stream modified mobilenet V2 and whale controlled entropy based optimization framework for citrus fruit diseases recognition. IEEE Access 10, 91828–91839 (2022)
Liu, C., Liang, Y., Xue, Y., Qian, X., Fu, J.: Food and ingredient joint learning for fine-grained recognition. IEEE Trans. Circuits Syst. Video Technol. 31(6), 2480–2493 (2020)
Wang, Z., Min, W., Li, Z., Kang, L., Wei, X., Wei, X., Jiang, S.: Ingredient-guided region discovery and relationship modeling for food category-ingredient prediction. IEEE Trans. Image Process. 31, 5214–5226 (2022)
Latif, G., Alsalem, B., Mubarky, W., Mohammad, N.:. Automatic Fruits Calories Estimation through Convolutional Neural Networks. In Proceedings of the 2020 6th International Conference on Computer and Technology Applications, Turkey, 17–21 (2020). https://doi.org/10.1145/3397125.3397154
Khan, M.A., Akram, T., Sharif, M., Awais, M., Javed, K., Ali, H., Saba, T.: CCDF: automatic system for segmentation and recognition of fruit crops diseases based on correlation coefficient and deep CNN features. Comput. Electron. Agric. 1(155), 220–236 (2018)
Funding
No funding was received to assist with the preparation of this manuscript.
Author information
Authors and Affiliations
Contributions
Study conception and design: Dr. PJS, Dr. AA, MS; data collection: Dr. AA; analysis and interpretation of results: Dr. PJS, JM draft manuscript preparation: Dr. AA; All authors reviewed the results and approved the final version of the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Conflict of interest
The authors declare that they have no conflict of interest.
Ethical approval
My research guide reviewed and ethically approved this manuscript for publishing in this Journal.
Human and animal rights
This article does not contain any studies with human or animal subjects performed by any of the authors.
Consent for publication
Not applicable.
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
Shermila, P.J., Ahilan, A., Shunmugathammal, M. et al. DEEPFIC: food item classification with calorie calculation using dragonfly deep learning network. SIViP 17, 3731–3739 (2023). https://doi.org/10.1007/s11760-023-02600-4
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11760-023-02600-4